RE: [PATCH] wifi: realtek: rtw8822c: replace msleep() with fsleep() for DPK delays
From: Ping-Ke Shih
Date: Sun Jun 14 2026 - 20:40:11 EST
Chen Jung Ku <ku.loong@xxxxxxxxxxxxxxxx> wrote:
> Replace msleep() with fsleep(), because msleep() may oversleep
> to as much as 20 ms when used for a 10 ms delay.
> According to the kernel documentation, fsleep() is more suitable
> and aligns better with modern kernel style.
>
> Documentation link: https://docs.kernel.org/timers/delay_sleep_functions.html
>
> Signed-off-by: Chen Jung Ku <ku.loong@xxxxxxxxxxxxxxxx>
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>