mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
9a2372fa7a
The regulator_enable() code wasn't actually checking that the machine constraints had given permission to enable the regulator. Add code to do that, but only if the regulator is not already on due to something like always_on or being left on at startup since in those cases there's no physical change being introduced and the constraint wouldn't make any sense. Also add matching code for disable(). We need to do less there since either regulator_enable() should have succeeded first or the board setup makes no sense. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk> |
||
---|---|---|
.. | ||
ab3100.c | ||
bq24022.c | ||
core.c | ||
da903x.c | ||
fixed.c | ||
Kconfig | ||
lp3971.c | ||
Makefile | ||
max1586.c | ||
mc13783.c | ||
pcap-regulator.c | ||
pcf50633-regulator.c | ||
twl4030-regulator.c | ||
userspace-consumer.c | ||
virtual.c | ||
wm831x-dcdc.c | ||
wm831x-isink.c | ||
wm831x-ldo.c | ||
wm8350-regulator.c | ||
wm8400-regulator.c |