commit | a7433cff9ed8e7982de8e0f210f0325d0f3d1949 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@stericsson.com> | Wed Aug 26 12:54:04 2009 +0200 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Tue Sep 22 13:32:43 2009 +0100 |
tree | bee9e9a62dace73825fece589dc32c82a95ae02c | |
parent | 9e108d33edcb88bac3db39ba1683fc2c0591d7d4 [diff] |
REGULATOR Handle positive returncode from enable This makes _regulator_enable() properly handle the case where a regulator is already on when you try to enable it. Currently it will erroneously handle positive return values as an error. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>