Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5aff3a8b authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 08aed2f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment