]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: core: Reduce busy-wait looping
authorThierry Reding <thierry.reding@gmail.com>
Fri, 20 Sep 2013 11:51:56 +0000 (13:51 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 30 Sep 2013 10:43:12 +0000 (11:43 +0100)
commit5df529d440aa4f0e67be9af3718e7edf05db7d02
tree4ea23e91d0a270ba4bcea67882b1c4f331b4bf69
parent043c998f95036e7fc796b240ab5ba49a8de36df3
regulator: core: Reduce busy-wait looping

Keep busy-wait looping to a minimum while waiting for a regulator to
ramp-up to the target voltage. This follows the guidelines set forth
in Documentation/timers/timers-howto.txt and assumes that regulators
are never enabled in atomic context.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c