# Re: \[PATCH\] staging: fbtft: Change udelay() to usleep\_range()

- From: Matthew Wilcox \<willy@infradead.org\>
- Date: 2026-01-13 17:53:58 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/01/3366500
- Thread: https://ratatoskr.run/dri-devel/2026/01/3366449/t.md

```text
On Tue, Jan 13, 2026 at 09:27:56AM -0800, Gideon Adjei wrote:
> Replace udelay() calls >= 100us with usleep_range() to avoid busy-waiting.
> This allows the scheduler to run other tasks while waiting.

Your commit message omits how you know it's safe to sleep in these
situations.  Are we holding a spinlock or being called in interrupt
context, for example?
```
