]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/da9052_bl.c: use usleep_range() instead of msleep() for small...
authorJingoo Han <jg1.han@samsung.com>
Fri, 28 Sep 2012 00:20:16 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 06:50:41 +0000 (16:50 +1000)
commitbe0097585bc37e3a6c078a1c006899bf9cb5d9c2
tree008ae2e46144374dccaf262fb6afbd84df9db9df
parentc09478a67264442e7bd144027111f0d81db2d40d
drivers/video/backlight/da9052_bl.c: use usleep_range() instead of msleep() for small sleeps

Since msleep() might not sleep for the desired amount when less than 20ms,
use usleep_range().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Ashish Jangam <ashish.jangam@kpitcummins.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/da9052_bl.c