]> 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>
Thu, 13 Sep 2012 01:01:08 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Sep 2012 06:04:36 +0000 (16:04 +1000)
commit59276257611911afb7dda238fcb8031542cf28cb
tree0dc1df2a60e8b173dccc5462b48029464c8abff0
parent39abde6909b2fef5606285573913dd2b8d6dc0d9
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