Re: [PATCH v2 2/2] rtw88: Use udelay instead of usleep in atomic context

From: Kalle Valo
Date: Wed May 06 2020 - 04:31:51 EST


Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote:

> It's incorrect to use usleep in atomic context.
>
> Switch to a macro which uses udelay instead of usleep to prevent the issue.
>
> Fixes: 6343a6d4b213 ("rtw88: Add delay on polling h2c command status bit")
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

fd5d781964b0 rtw88: Use udelay instead of usleep in atomic context

--
https://patchwork.kernel.org/patch/11505147/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches