diff options
author | Mark Brown <broonie@kernel.org> | 2015-11-03 06:58:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-04 11:16:05 +0100 |
commit | d9b96d35d2521342fdbcbc7468a0f7dcfaba4147 (patch) | |
tree | 43e895d5a496cc63f4ad04e2b9724068a6495004 /Documentation/devicetree/bindings/regulator/tps65090.txt | |
parent | regulator: core: Propagate voltage changes to supply regulators (diff) | |
download | linux-d9b96d35d2521342fdbcbc7468a0f7dcfaba4147.tar.xz linux-d9b96d35d2521342fdbcbc7468a0f7dcfaba4147.zip |
regulator: Use regulator_lock_supply() for get_voltage() too
Since we need to read voltages of parents as part of setting supply
voltages we need to be able to do get_voltage() internally without
taking locks so reorganize the locking to take locks on the full tree on
entry rather than as we recurse when called externally.
Reported-by: John Stultz <john.stultz@linaro.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/tps65090.txt')
0 files changed, 0 insertions, 0 deletions