commit | f71bf52808e7089a5a6df9b32ffa13e93e51f1ca | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Mar 26 16:13:14 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Mar 26 14:04:22 2013 +0000 |
tree | 2a553c3f38092fe0e0ed409b488ffbf06ffbdc0c | |
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>