]> 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>
Wed, 12 Sep 2012 07:08:39 +0000 (17:08 +1000)
commit0e333e3928db44c6ba46d1fea27a8de03e7c544e
tree893584cdeaf40605d7b8f5777a26684bf24a8b12
parentf53ddff57c4baa86f1c45ee288a2ec5a06fc7441
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