Skip to content
Unverified Commit f7d7ad42 authored by Sumit Semwal's avatar Sumit Semwal Committed by Mark Brown
Browse files

regulator: Allow regulators to verify enabled during enable()



Some regulators might need to verify that they have indeed been enabled
after the enable() call is made and enable_time delay has passed.

This is implemented by repeatedly checking is_enabled() upto
poll_enabled_time, waiting for the already calculated enable delay in
each iteration.

Signed-off-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/20200622124110.20971-2-sumit.semwal@linaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 308e65ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment