diff options
author | Sumit Semwal <sumit.semwal@linaro.org> | 2020-06-22 15:41:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-15 17:47:15 +0300 |
commit | f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5 (patch) | |
tree | 754388c8a5bef1986a093f27c2849c47b145055e /drivers/regulator/Kconfig | |
parent | 308e65ad060dca2f0187731a7916c71521ce6c25 (diff) | |
download | linux-f7d7ad42a9dc2d63cab6a79fe31e6732a30dacf5.tar.xz |
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: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/20200622124110.20971-2-sumit.semwal@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
0 files changed, 0 insertions, 0 deletions