On Tue, Jan 13, 2026 at 11:06 PM Gideon Adjei [off-list ref] wrote:
Replace udelay() calls >= 100us with usleep_range() to avoid busy-waiting.
The delays are used in init_display() callbacks. These callbacks are
invoked by fbtft_probe_common() during the driver's probe path. the
probe path runs in process context which already uses sleeping APIs.
This makes usleep_range() safe to use in these situations.
Nice, now can we switch to modern API, i.e. fsleep()?
--
With Best Regards,
Andy Shevchenko