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

From: Lee Jones
Date: Tue Dec 08 2015 - 10:45:48 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> > Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > ---
>
> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

Ta

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/