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

Lee Jones lee.jones at linaro.org
Tue Dec 8 07:45:38 PST 2015


On Tue, 08 Dec 2015, Charles Keepax wrote:

> 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:

That's odd.  I have no overrides in place and --[no-]signed-off-by-cc
should default to --signed-off-by-cc.
> 
> Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

Ta

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-arm-kernel mailing list