]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: core: Fast path non-deferred disables
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 7 Sep 2012 03:00:53 +0000 (11:00 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 8 Sep 2012 00:51:12 +0000 (08:51 +0800)
commit2b5a24a01df12fbfa3e702ad7efae27bcb852e33
tree28d1d703f0266edd262d96eecbf7ecfecdfc580d
parentf2889e650a8dbd51644997aef7bae71d6ac4d423
regulator: core: Fast path non-deferred disables

Users (especially framework code) may end up passing in a zero deferral
time depending on runtime conditions or configuration. If they do then
just call regulator_disable() directly to save scheduling.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c