Re: [PATCH] staging: fbtft: fb_ra8875: replace udelay() with usleep_range()
From: Andy Shevchenko
Date: Wed Mar 11 2026 - 11:58:06 EST
On Wed, Mar 11, 2026 at 01:52:45PM +0000, Anas Iqbal wrote:
> Replace udelay() with usleep_range() for 100 microsecond delays as
> recommended by checkpatch.pl. usleep_range() avoids busy waiting and
> allows the scheduler to run other tasks.
fsleep().
Now, read README here:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/staging/fbtft/README
and act accordingly.
If you have been mentored on this, show the above link to your mentors.
--
With Best Regards,
Andy Shevchenko