summaryrefslogtreecommitdiff
path: root/drivers/regulator/qcom-rpmh-regulator.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2018-08-16 23:28:03 +0300
committerMark Brown <broonie@kernel.org>2018-08-28 23:10:23 +0300
commit7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed (patch)
tree422533b4d3a8a905f2217c312ba7b5b52598b44c /drivers/regulator/qcom-rpmh-regulator.c
parent7d3827b5954840ff7765aef282257b7368b5ea67 (diff)
downloadlinux-7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed.tar.xz
regulator: core: Add locking to debugfs regulator_summary
Most functions that access the rdev lock the rdev mutex before looking at data. ...but not the code that implements the debugfs regulator_summary. It probably should though, so let's do it. Note: this fixes no known issues. The problem was found only by code inspection. Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/qcom-rpmh-regulator.c')
0 files changed, 0 insertions, 0 deletions