Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information