Re: [PATCH] staging: rtl8723bs: replace msleep with usleep_range in rtw_pwrctrl.c
From: Greg KH
Date: Mon Sep 07 2026 - 12:34:22 EST
On Sat, Sep 05, 2026 at 10:26:13AM +0500, Muhammad Israr wrote:
> The checkpatch tool flags msleep() calls for durations less than 20ms
> because they can sleep for much longer due to timer granularity. Use
> usleep_range() for the 1ms delay to provide a flexible sleep window
> and avoid inaccurate task scheduling.
>
> Signed-off-by: Muhammad Israr <7israr.work@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Please see the mailing list archives for why this patch keeps getting
rejected.
thanks,
greg k-h