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

From: Kalle Valo
Date: Thu Apr 23 2020 - 12:07:18 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>

For patch 1 please also CC linux-wireless, otherwise patchwork cannot see it.

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

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