linux/drivers/regulator
Philip Rakity 2f7baf89d3 regulator: core.c Pass voltage to notifier when setting voltage
The voltage being set should be passed to the call in handler
requesting the callback.  Currently this is not done.

The calling handler cannot call regulator_get_voltage() to get the
information since the mutex is held by the regulator and
deadlock occurs.

Without this change the receiver of the call in cannot know what
action to take.  This is used, for example, to set PAD voltages
when doing SD vccq voltage changes.

[Review and spelling fix in the commit log from Pankaj Jangra]

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-17 19:12:44 +01:00
..
88pm8607.c regulator: 88pm8607: Use regulator_get_voltage_sel_regmap() 2012-05-04 13:32:06 +01:00
aat2870-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
ab3100.c regulator: ab3100: Use regulator_map_voltage_iterate() 2012-05-18 08:39:57 +01:00
ab8500.c regulator: Enable the ab8500 for Device Tree 2012-05-18 08:37:25 +01:00
ad5398.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
anatop-regulator.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
core.c regulator: core.c Pass voltage to notifier when setting voltage 2012-06-17 19:12:44 +01:00
da903x.c regulator: da903x: Kill da903x_[get|set]_[ldo12|ldo14]_voltage_sel() functions 2012-05-15 18:32:57 +01:00
da9052-regulator.c regulator: da9052: Convert to set_voltage_sel and map_voltage 2012-05-16 09:48:57 +01:00
db8500-prcmu.c regulator: Enable Device Tree for the db8500-prcmu regulator driver 2012-05-18 16:38:00 +01:00
dbx500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dbx500-prcmu.h regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00:00
dummy.c regulator: dummy: Specify a struct device 2012-05-10 10:48:28 +01:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fixed-helper.c regulator: Remove non-existent parameter from fixed-helper.c kernel doc 2012-03-31 19:41:20 +01:00
fixed.c regulator: fixed: add property for gpio open drain flag 2012-05-07 12:31:05 +01:00
gpio-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
isl6271a-regulator.c regulator: isl6271a: Convert to set_voltage_sel and regulator_map_voltage_linear 2012-05-16 09:46:58 +01:00
Kconfig regulator: regulator for Palmas Kconfig 2012-05-19 12:45:25 +01:00
lp3971.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
lp3972.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
Makefile regulator: regulator for Palmas Kconfig 2012-05-19 12:45:25 +01:00
max1586.c regulator: max1586: Use devm_kzalloc() 2012-04-13 09:59:39 +01:00
max8649.c regulator: max8649: Remove unused check_range() function 2012-05-17 23:00:55 +01:00
max8660.c regulator: max8660: Convert to set_voltage_sel and regulator_map_voltage_linear 2012-05-15 18:35:42 +01:00
max8925-regulator.c regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info 2012-05-17 23:00:56 +01:00
max8952.c regulator: max8952: Use devm_kzalloc 2012-05-16 09:48:37 +01:00
max8997.c regulator updates for 3.5 2012-05-21 16:49:16 -07:00
max8998.c regulator: max8998: Convert ot use devm_kzalloc 2012-04-23 13:20:27 +01:00
mc13xxx-regulator-core.c regulator: Convert mc13xxx regulator drivers to set_voltage_sel 2012-04-02 23:24:46 +01:00
mc13xxx.h regulator: Convert mc13xxx regulator drivers to set_voltage_sel 2012-04-02 23:24:46 +01:00
mc13783-regulator.c regulator: Fix build error for mc13783 and mc13892 2012-04-10 09:52:53 +01:00
mc13892-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
of_regulator.c regulator: Add generic DT parsing for regulators 2012-05-04 13:25:15 +01:00
palmas-regulator.c regulator: regulator driver for Palmas series chips 2012-05-19 12:45:18 +01:00
pcap-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
pcf50633-regulator.c regulator: pcf50633: Use regulator_get_voltage_sel_regmap() 2012-04-23 13:19:51 +01:00
rc5t583-regulator.c regulator: rc5t583: Remove max_uV from struct rc5t583_regulator_info 2012-05-17 23:00:55 +01:00
s5m8767.c regulator: Staticise non-exported symbol s5m8767_opmode_reg 2012-05-12 11:11:58 +01:00
tps6105x-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps6507x-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps6524x-regulator.c regulator: Convert tps65xxx regulator drivers to use devm_kzalloc 2012-04-11 10:16:50 +01:00
tps6586x-regulator.c tps6586x: Add device tree support 2012-05-04 13:25:16 +01:00
tps62360-regulator.c regulator: tps62360: dt: initialize of_node param for regulator register. 2012-05-20 18:22:41 +01:00
tps65023-regulator.c Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next 2012-05-12 11:10:25 +01:00
tps65090-regulator.c Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next 2012-05-12 11:10:25 +01:00
tps65217-regulator.c regulator: tps65217: Convert to set_voltage_sel and map_voltage 2012-05-18 08:38:32 +01:00
tps65910-regulator.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
tps65912-regulator.c regulator: tps65912: Convert to get_voltage_sel 2012-04-23 13:20:27 +01:00
twl-regulator.c regulator: twl-regulator: make TWL4030_ALLOW_UNSUPPORTED more configurable. 2012-05-09 10:04:33 +01:00
userspace-consumer.c regulator: userspace-consumer: Convert to use devm_* APIs 2012-04-18 10:26:24 +01:00
virtual.c regulator: virtual: Replace strict_strtol with kstrtol 2012-04-19 13:48:34 +01:00
wm831x-dcdc.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
wm831x-isink.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
wm831x-ldo.c MFD changes for 3.5 2012-05-29 11:53:11 -07:00
wm8350-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm8400-regulator.c regulator: wm8400: Modernise driver 2012-05-12 11:11:48 +01:00
wm8994-regulator.c regulator: wm8994: Allow registration with no platform data 2012-05-14 15:25:33 +01:00