Messages in this thread | | | Subject | Re: [PATCH] regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path | From | Liam Girdwood <> | Date | Tue, 15 Dec 2009 14:39:25 +0000 |
| |
On Tue, 2009-12-15 at 14:30 +0100, Lars-Peter Clausen wrote: > 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> > --- > drivers/regulator/core.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) >
Applied for 2.6.33.
Thanks
Liam
| |