diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-26 16:13:14 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-26 14:04:22 +0000 |
commit | f71bf52808e7089a5a6df9b32ffa13e93e51f1ca (patch) | |
tree | 2a553c3f38092fe0e0ed409b488ffbf06ffbdc0c /lib/mpi/mpi-bit.c | |
parent | 5689e830745b39dbab895e5e8df3f962cb7eecac (diff) |
regulator: ab8500: Don't update is_enabled flag in error paths
This avoid setting is_enabled flag to wrong status if enable/disable fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions