]> 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>
Wed, 26 Sep 2012 01:34:20 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:27:42 +0000 (17:27 +1000)
commit30d884097dc69667cfa68f7f1072165d984e966a
tree7c7c0c99117a68150dbb0f31271a270e74ba2e80
parent7eaf29785d9e90fdf74e0c257f2e5de39ce6fabf
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