Thread (62 messages) 62 messages, 4 authors, 2021-05-29

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

From: Andy Shevchenko <hidden>
Date: 2021-05-29 09:41:56
Also in: lkml

On Fri, May 28, 2021 at 1:46 PM Andy Shevchenko
[off-list ref] wrote:
On Fri, May 28, 2021 at 12:04:40PM +0200, Pavel Machek wrote:
quoted
On Mon 2021-05-10 12:50:20, Andy Shevchenko wrote:
quoted
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.
Okay, I have rephrased the commit message.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help