From: Ping-Ke Shih <pkshih@realtek.com>
To: Chen Jung Ku <ku.loong@gapp.nthu.edu.tw>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Chen Jung Ku <cjku@proton.me>
Subject: RE: [PATCH] wifi: realtek: rtw8822c: replace msleep() with fsleep() for DPK delays
Date: Mon, 15 Jun 2026 00:39:31 +0000 [thread overview]
Message-ID: <5183c87219e2489eb99c9015cb96a7f8@realtek.com> (raw)
In-Reply-To: <20260613170434.23645-1-ku.loong@gapp.nthu.edu.tw>
Chen Jung Ku <ku.loong@gapp.nthu.edu.tw> 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@gapp.nthu.edu.tw>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
next prev parent reply other threads:[~2026-06-15 0:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-13 17:04 [PATCH] wifi: realtek: rtw8822c: replace msleep() with fsleep() for DPK delays Chen Jung Ku
2026-06-15 0:39 ` Ping-Ke Shih [this message]
2026-06-15 1:54 ` Ping-Ke Shih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5183c87219e2489eb99c9015cb96a7f8@realtek.com \
--to=pkshih@realtek.com \
--cc=cjku@proton.me \
--cc=ku.loong@gapp.nthu.edu.tw \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox