mfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range() instead
authorLee Jones <lee.jones@linaro.org>
Wed, 28 Oct 2015 12:42:30 +0000 (12:42 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 Jan 2016 08:43:58 +0000 (08:43 +0000)
commitb79a980f7161ca09855cc641091d1afe4ef08dd8
tree0c0f998d24e362d30dd3e19a0ed9b9778b75bb6c
parent3103d44e4509f6da8b667d185b45eb0ae0beaa85
mfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range() instead

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
+               msleep(1);

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
+                       msleep(5);

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
+               msleep(1);

WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
+               msleep(1);

total: 0 errors, 4 warnings, 1407 lines checked

Cc: patches@opensource.wolfsonmicro.com
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c