commit | 7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@chromium.org> | Thu Aug 16 13:28:03 2018 -0700 |
committer | Mark Brown <broonie@kernel.org> | Tue Aug 28 21:10:23 2018 +0100 |
tree | 422533b4d3a8a905f2217c312ba7b5b52598b44c | |
parent | 7d3827b5954840ff7765aef282257b7368b5ea67 [diff] |
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>