[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DG2FC84E7CA1.2L8B6329T2UFL@gmail.com>
Date: Fri, 30 Jan 2026 20:37:59 -0600
From: "Ethan Tidmore" <ethantidmore06@...il.com>
To: "Fu Zang" <t1468150755@....com>, <gregkh@...uxfoundation.org>
Cc: <linux-staging@...ts.linux.dev>, <linux-kernel@...r.kernel.org>, "Fu
Zang" <t1468150755@...il.com>
Subject: Re: [PATCH] staging: rtl8723bs: replace msleep with usleep_range
for small delays
On Fri Jan 30, 2026 at 7:08 AM CST, Fu Zang wrote:
> From: Fu Zang <t1468150755@...il.com>
>
> The msleep() function is not recommended for delays shorter than 20ms
> as it may sleep considerably longer than requested.
>
> This patch replaces msleep(10) with usleep_range(10000, 11000) to
> provide more precise delay control while allowing the timer subsystem
> to coalesce wakeups.
>
> Found by checkpatch.pl.
>
> Signed-off-by: Fu Zang <t1468150755@...il.com>
Apologies, I used the wrong tag in my previous response. I intended to provide a Reviewed-by tag for this patch.
Reviewed-by: Ethan Tidmore <ethantidmore06@...il.com>
Powered by blists - more mailing lists