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)
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>

No differences found