diff options
| author | 2009-12-15 14:30:01 +0100 | |
|---|---|---|
| committer | 2009-12-17 10:27:28 +0000 | |
| commit | eb143ac1b9f56ca9c6dc782d795acda1f60c5fd2 (patch) | |
| tree | 33a56cd82ee52eb613c9fb81bbcf8f15586e7f49 /tools/perf/scripts/python/syscall-counts.py | |
| parent | regulator: core.c: Small coding style cleanup (indentation fixup) (diff) | |
| download | linux-dev-eb143ac1b9f56ca9c6dc782d795acda1f60c5fd2.tar.xz linux-dev-eb143ac1b9f56ca9c6dc782d795acda1f60c5fd2.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
