]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/da9052_bl.c: use usleep_range() instead of msleep() for small...
authorJingoo Han <jg1.han@samsung.com>
Wed, 26 Sep 2012 01:34:19 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:27:40 +0000 (17:27 +1000)
commitb3f8384e5da78813d3e63b6d8853b81e57f53b41
tree6bd474cd54d3e469f6c45e3e717fe773de65e68a
parent27e7cabd8328fb9dc241c16d67d22fdca562a184
drivers/video/backlight/da9052_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: Ashish Jangam <ashish.jangam@kpitcummins.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/da9052_bl.c