commit | 5aff3a8b20c54888e199e863744848007f1f4120 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Jun 26 11:16:58 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Jun 26 11:53:35 2012 +0100 |
tree | 507c5e74cce81ad18734199a9d3516b4c82381f8 | |
parent | 08aed2f6fb09c9f8efc9258c152072ed614db226 [diff] |
regulator: core: Check for failed voltage sets before checking for delay There is no need to consider waiting for the voltage to ramp if we didn't manage to set it and looking at the return value is going to be cheaper than is_enabled(). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>