Re: [PATCH] staging: fbtft: fb_ra8875: replace udelay with usleep_range

Andy Shevchenko <[email protected]> Thu, 16 Jul 2026 21:37:24 +0300
Newsgroups org.kernel.vger.linux-fbdev,dev.linux.lists.linux-staging,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
On Thu, Jul 16, 2026 at 01:08:33PM +0200, Selby Mashiki via B4 Relay wrote:

> udelay() busy-waits for the specified duration, consuming CPU cycles
> unnecessarily. usleep_range() is preferred for delays that can sleep,
> as it allows the scheduler to run other tasks during the wait.
> 
> Replace two instances of udelay(100) with usleep_range(100, 200) to
> use the preferred sleeping delay function.

NAK. Read mailing list archives why.

-- 
With Best Regards,
Andy Shevchenko