kernel_optimize_test/drivers/regulator
Lars-Peter Clausen eb143ac1b9 regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path
Currently it is possible for regulator_bulk_{enable,disable} operations to
generate unbalanced regulator_{disable,enable} calls in its error path.
In case of an error only those regulators of the bulk operation which actually
had been enabled/disabled should get their original state restored.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-12-17 10:27:28 +00:00
..
88pm8607.c regulator: Ensure val is initialised in 88pm8607 choose_voltage() 2009-12-17 10:27:25 +00:00
ab3100.c Fix some AB3100 regulator issues 2009-12-17 10:27:25 +00:00
bq24022.c regulator/bq24022: fix bug in is_enabled function 2009-04-28 18:58:08 +01:00
core.c regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path 2009-12-17 10:27:28 +00:00
da903x.c regulator: keep index within bounds in da9034_get_ldo12_voltage() 2009-12-17 10:27:25 +00:00
fixed.c dereferencing freed memory regulator_fixed_voltage_remove() 2009-11-16 12:40:25 +00:00
Kconfig regulator: add 88PM8607 PMIC driver 2009-12-17 10:27:23 +00:00
lp3971.c drivers/regulator: use PTR_ERR to get error code 2009-12-17 10:27:27 +00:00
Makefile regulator/mc13783: rename source file to match other drivers 2009-12-17 10:27:26 +00:00
max1586.c regulator/max1586: fix V3 gain calculation integer overflow 2009-06-15 11:18:27 +01:00
max8660.c regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
mc13783-regulator.c regulator/mc13783: various cleanups 2009-12-17 10:27:26 +00:00
pcap-regulator.c regulator: get pcap data from the parent device 2009-09-17 09:47:13 +02:00
pcf50633-regulator.c mfd: Fix pcf50633-regulator drvdata usage 2009-12-13 19:21:20 +01:00
tps6507x-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
tps65023-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
twl-regulator.c regulator: Add support for twl6030 regulators 2009-12-14 00:26:20 +01:00
userspace-consumer.c regulator: userspace: use sysfs_create_group 2009-09-22 13:32:41 +01:00
virtual.c regulator: Improve virtual consumer probe error handling 2009-09-22 13:32:39 +01:00
wm831x-dcdc.c regulator: Implement WM831x BuckWise DC-DC convertor DVS support 2009-12-17 10:27:22 +00:00
wm831x-isink.c regulator: Initialise wm831x structure pointor for ISINK driver 2009-12-02 19:37:16 +00:00
wm831x-ldo.c regulator: Fix check of unsigned return value and transmit errors in wm831x_gp_ldo_get_mode() 2009-11-16 09:57:17 +00:00
wm8350-regulator.c mfd: Mask and unmask wm8350 IRQs on request and free 2009-12-13 19:21:40 +01:00
wm8400-regulator.c regulator: remove driver_data direct access of struct device 2009-06-15 11:18:25 +01:00