Re: [PATCH] delay: Fix ndelay() spuriously treated as udelay()

From: Nícolas F. R. A. Prado
Date: Mon Dec 02 2024 - 09:10:20 EST


On Thu, Nov 21, 2024 at 04:29:31PM +0100, Frederic Weisbecker wrote:
> A recent rework on delay functions wrongly ended up calling __udelay()
> instead of __ndelay() for nanosecond delays, increasing those by 1000.
>
> As a result hangs have been observed on boot
>
> Restore the right function calls.
>
> Fixes: 19e2d91d8cb1 ("delay: Rework udelay and ndelay")
> Reported-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> Signed-off-by: Frederic Weisbecker <frederic@xxxxxxxxxx>

Tested-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

It's possible to boot again on MT8195-Cherry-Tomato with this patch applied on
top of next-20241128.

Thanks,
Nícolas