]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/ltv350qv.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>
Mon, 10 Sep 2012 06:18:15 +0000 (16:18 +1000)
commitdb9d11bac4fdfe14925691581c57419a31b13fd5
treeb3c074fa72ae9763d7247be5e14a3c638726a9e2
parentb37bf0a186dbe0ce08dbfaa5bbe2f0452e9cf07f
drivers/video/backlight/ltv350qv.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: Haavard Skinnemoen <hskinnemoen@gmail.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/ltv350qv.c