]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/kb3886_bl.c: use usleep_range() instead of msleep() for small...
authorJingoo Han <jg1.han@samsung.com>
Fri, 7 Sep 2012 00:24:49 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Sep 2012 05:49:30 +0000 (15:49 +1000)
commitcc1cf2a7ec13476c65c6eccee8efd5a7146ac60d
treedd0f0da1d1cfd413b5fd964f70152fa821ba6661
parent0634a48e9f7520732bd555cf81c5e37e780bb84a
drivers/video/backlight/kb3886_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: Claudio Nieder <private@claudio.ch>
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/kb3886_bl.c