kernel-fxtec-pro1x/drivers/regulator
Mark Brown 9a2372fa7a regulator: regulator_enable() permission checking
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>
2009-09-22 13:32:41 +01:00
..
ab3100.c regulator: Voltage count for AB3100 2009-09-17 15:48:24 +02:00
bq24022.c regulator/bq24022: fix bug in is_enabled function 2009-04-28 18:58:08 +01:00
core.c regulator: regulator_enable() permission checking 2009-09-22 13:32:41 +01:00
da903x.c regulator: da903x: consolidate DA903[045]_DVC macros 2009-09-22 13:32:39 +01:00
fixed.c regulator: More explict error reporting for fixed regulator 2009-09-22 13:32:40 +01:00
Kconfig regulator: AB3100 support 2009-09-17 09:47:25 +02:00
lp3971.c regulator: lp3971 - fix driver link error when built-in. 2009-06-15 11:18:26 +01:00
Makefile regulator: AB3100 support 2009-09-17 09:47:25 +02:00
max1586.c regulator/max1586: fix V3 gain calculation integer overflow 2009-06-15 11:18:27 +01:00
mc13783.c regulator: Add Freescale MC13783 driver 2009-09-17 09:47:19 +02:00
pcap-regulator.c regulator: get pcap data from the parent device 2009-09-17 09:47:13 +02:00
pcf50633-regulator.c drivers/regulator/pcf50633-regulator.c: Remove unnecessary semicolons 2009-09-22 13:32:36 +01:00
twl4030-regulator.c regulator: twl4030 VAUX3 supports 3.0V 2009-03-31 11:29:54 +01:00
userspace-consumer.c regulator: build fix for powerpc - renamed show_state 2009-06-15 11:18:23 +01:00
virtual.c regulator: Improve virtual consumer probe error handling 2009-09-22 13:32:39 +01:00
wm831x-dcdc.c regulator: Add WM831x DC-DC boost convertor support 2009-09-17 09:47:10 +02:00
wm831x-isink.c regulator: Add WM831x ISINK support 2009-09-17 09:47:11 +02:00
wm831x-ldo.c regulator: Add WM831x LDO support 2009-09-17 09:47:09 +02:00
wm8350-regulator.c regulator: add check index of wm8350->pmic.pdev[] 2009-09-22 13:32:35 +01:00
wm8400-regulator.c regulator: remove driver_data direct access of struct device 2009-06-15 11:18:25 +01:00