Re: [PATCH] wifi: realtek: rtw8822c: replace msleep() with fsleep() for DPK delays
From: Ping-Ke Shih
Date: Thu Jul 02 2026 - 22:40:22 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>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
000e63e67a78 wifi: rtw88: 8822c: replace msleep() with fsleep() for DPK delays
---
https://github.com/pkshih/rtw.git