1
linux/drivers/regulator
Mark Brown e032b37655 regulator: Fix deadlock on removal of regulators with supplies
If a regulator with a supply is being unregistered we will call
regulator_put() to release the supply with the regulator_list_mutex held
but this deadlocks as regulator_put() takes the same lock. Fix this by
releasing the supply before we take the mutex in regulator_unregister().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-03-29 22:50:14 +01:00
..
88pm8607.c
aat2870-regulator.c regulator: Add a pointer to aat2870_data in struct aat2870_regulator 2012-03-11 20:48:48 +00:00
ab3100.c
ab8500.c regulator: Convert ab8499 to use get_voltage_sel() 2012-03-11 20:48:43 +00:00
ad5398.c regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
anatop-regulator.c regulator: anatop: patching to device-tree property "reg". 2012-03-28 11:52:10 +01:00
bq24022.c
core.c regulator: Fix deadlock on removal of regulators with supplies 2012-03-29 22:50:14 +01:00
da903x.c regulator: da903x: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:52 +00:00
da9052-regulator.c
db8500-prcmu.c regulators/db8500: split off shared dbx500 code 2012-01-20 12:01:29 +00: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
dummy.h
fixed-helper.c regulator: provide a helper for registering a fixed regulator 2012-03-03 16:32:47 +00:00
fixed.c regulator fixed: Do not report enumaratable voltages if there are none 2012-03-11 20:48:51 +00:00
gpio-regulator.c
isl6271a-regulator.c regulator: Simplify the code to get selector in isl6271a_set_voltage 2012-03-11 20:48:47 +00:00
Kconfig regulator: Add Anatop regulator driver 2012-03-14 12:37:35 +00:00
lp3971.c
lp3972.c
Makefile Merge remote-tracking branch 'regulator/topic/stub' into regulator-next 2012-03-18 21:38:20 +00:00
max1586.c regulator: max1586: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:49 +00:00
max8649.c Merge remote-tracking branch 'regulator/topic/stub' into regulator-next 2012-03-18 21:38:20 +00:00
max8660.c regulator: max8660: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:50 +00:00
max8925-regulator.c regulator: max8925: Use DIV_ROUND_UP macro 2012-03-13 23:19:40 +00:00
max8952.c
max8997.c regulator: Kill max8997_get_rid function 2012-03-11 20:48:46 +00:00
max8998.c regulator: Silence error message in max8998_pmic_probe 2012-03-11 20:48:54 +00:00
mc13xxx-regulator-core.c regulator: Fix mc13xxx regulator modular build (again) 2012-02-09 22:57:46 +00:00
mc13xxx.h
mc13783-regulator.c regulator: mc13783: bail out without platform data 2012-03-11 20:48:44 +00:00
mc13892-regulator.c regulator: Fix unbalanced lock/unlock in mc13892_regulator_probe error path 2012-03-26 18:32:11 +01:00
of_regulator.c regulator: Set apply_uV only when min and max voltages are defined 2012-01-26 11:01:21 +00:00
pcap-regulator.c
pcf50633-regulator.c regulator: Fix n_voltage settings for pcf50633 regulator 2012-03-11 20:48:45 +00:00
s5m8767.c regulator: Make s5m8767_get_voltage_register always return correct register 2012-03-14 14:10:41 +00:00
tps6105x-regulator.c
tps6507x-regulator.c regulator: Convert tps6507x to set_voltage_sel 2012-03-14 14:13:17 +00:00
tps6524x-regulator.c regulator: tps6524x: Remove unneeded comment for N_REGULATORS 2012-03-11 20:49:34 +00:00
tps6586x-regulator.c regulator: tps6586x: Fix list minimal voltage setting for LDO0 2012-03-26 11:55:29 +01:00
tps62360-regulator.c regulator: tps62360: Remove pointless test for unsigned less than zero 2012-03-11 20:48:40 +00:00
tps65023-regulator.c regulator: Remove redundant regmap_update_bits call for TPS65023_REG_CON_CTRL2 2012-02-06 16:38:18 +00:00
tps65217-regulator.c regulator: Merge tps65217_pmic_ldo234_ops and tps65217_pmic_dcdc_ops to tps65217_pmic_ops 2012-03-12 10:50:46 +00:00
tps65910-regulator.c regulator: tps65910: Provide settling time for DCDC voltage change 2012-03-14 12:37:41 +00:00
tps65912-regulator.c regulator: Simplify implementation of tps65912_get_voltage_dcdc 2012-03-14 12:37:23 +00:00
twl-regulator.c regulator: twl-regulator: Add fixed LDO for V1V8, V2V1 supply 2012-03-11 20:09:18 +00:00
userspace-consumer.c
virtual.c
wm831x-dcdc.c regulator: wm831x-dcdc: Fix the logic to choose best current limit setting 2012-03-28 12:44:07 +01:00
wm831x-isink.c regulator: wm831x-isink: Fix the logic to choose best current limit setting 2012-03-28 12:44:07 +01:00
wm831x-ldo.c regulator: Fix setting low power mode for wm831x aldo 2012-03-29 12:06:24 +01:00
wm8350-regulator.c regulator: Only update [LDOx|DCx]_HIB_MODE bits in wm8350_[ldo|dcdc]_set_suspend_disable 2012-03-29 12:06:24 +01:00
wm8400-regulator.c regulator: wm8400: Use DIV_ROUND_UP macro to calculate selector 2012-03-11 20:48:51 +00:00
wm8994-regulator.c regulator: wm8994: Convert to devm_kzalloc() 2012-03-11 20:48:41 +00:00