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

From: AngeloGioacchino Del Regno
Date: Mon Nov 25 2024 - 04:56:28 EST


Il 21/11/24 16:29, Frederic Weisbecker ha scritto:
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>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>