Re: [PATCH v2] staging: greybus: loopback: Use fsleep() for delay
From: Greg KH
Date: Fri Oct 23 2026 - 09:06:46 EST
On Fri, Oct 23, 2026 at 07:48:54AM -0500, Alex Elder wrote:
> On 10/22/26 3:24 PM, pavankumaryalagada@xxxxxxxxx wrote:
> > From: Yalagada Pavan Kumar <pavankumaryalagada@xxxxxxxxx>
> >
> > In the loopback function, usleep_range() is used for short delays
> > and msleep() for longer delays. This requires choosing the delay
> > function based on the requested time and converting microseconds
> > to milliseconds when using msleep().
> >
> > Replace both functions with fsleep(), which chooses a delay
> > delay method based on the requested time. For short delays,
>
> s/delay delay/delay/
>
> I think "checkpatch.pl" would have caught this.
>
> Maybe Greg can fix this up.
Nope, not for staging patches, this is for "learning" :)
thanks.
greg k-h