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
..
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:34 -08:00
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 09:33:36 -08:00
2009-12-16 10:23:43 -08:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00