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

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