]> 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>
Wed, 26 Sep 2012 01:34:20 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 26 Sep 2012 05:45:20 +0000 (15:45 +1000)
commitc803029ff0660ef51a02870c6240ace12eb2cf1d
tree6f7841579ab7c87f163a701aed82e38934a34bba
parente82d82d4da5dffe886589feade5e459700f7dc8f
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