[PATCH 09/19] mfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range() instead

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Tue Dec 8 06:33:00 PST 2015


On Mon, Dec 07, 2015 at 11:50:22AM +0000, Lee Jones wrote:
> 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 at opensource.wolfsonmicro.com
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---

This doesn't actually appear to cc patches. But all looks good:

Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Thanks,
Charles



More information about the linux-arm-kernel mailing list