Re: [PATCH] regulator: core: Reduce busy-wait looping

2014-03-21 Thread Mark Brown
On Fri, Mar 21, 2014 at 11:31:25AM +0900, Jonghwan Choi wrote: > Commit 5df529d440("regulator: core: Reduce busy-wait looping") > can also be used in regulator_do_set_voltage. This is good as a change but please factor it out into a function so we don't have the same problem again with future cha

[PATCH] regulator: core: Reduce busy-wait looping

2014-03-20 Thread Jonghwan Choi
Commit 5df529d440("regulator: core: Reduce busy-wait looping") can also be used in regulator_do_set_voltage. Signed-off-by: Jonghwan Choi --- drivers/regulator/core.c | 39 +-- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/

Re: [PATCH] regulator: core: Reduce busy-wait looping

2013-09-20 Thread Mark Brown
On Fri, Sep 20, 2013 at 01:51:56PM +0200, Thierry Reding wrote: > 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

[PATCH] regulator: core: Reduce busy-wait looping

2013-09-20 Thread Thierry Reding
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 --- drivers/regulator/