]> git.kernelconcepts.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>
Thu, 13 Sep 2012 01:01:08 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:28:07 +0000 (17:28 +1000)
commit3a82538e760e91ea921001660d6c7cdf1975953a
tree4d650064ba4cbd57f49ed579661c52568011f04c
parent22c430b634611850d7aa3e641754ad89e0ffbdbf
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