Re: [PATCH v1 03/28] leds: el15203000: Give better margin for usleep_range()

From: Andy Shevchenko
Date: Fri May 28 2021 - 06:45:42 EST


On Fri, May 28, 2021 at 12:04:40PM +0200, Pavel Machek wrote:
> On Mon 2021-05-10 12:50:20, Andy Shevchenko wrote:
> > 1 microsecond with 20 millisecond parameter is too low margin for
> > usleep_range(). Give 100 to make scheduler happier.
> >
> > While at it, fix indentation in cases where EL_FW_DELAY_USEC is in use.
> > In the loop, move it to the end to avoid a conditional.
>
> Its not like unhappy schedulers are problem...

Any hints then? To me it sounds like torturing scheduler is the real problem
and that's why scheduler is unhappy.

--
With Best Regards,
Andy Shevchenko