+3
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>