[bug report] ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR
Dan Carpenter
dan.carpenter at oracle.com
Fri Sep 16 07:40:58 PDT 2022
On Fri, Sep 16, 2022 at 05:38:09PM +0300, Dan Carpenter wrote:
> Hello Judy Hsiao,
>
> The patch fbb0ec656ee5: "ASoC: rockchip: i2s: use
> regmap_read_poll_timeout to poll I2S_CLR" from Sep 14, 2022, leads to
> the following Smatch static checker warning:
>
> sound/soc/rockchip/rockchip_i2s.c:165 rockchip_snd_txctrl()
> warn: sleeping in atomic context
The code for rx is the same as tx so it has the same warning.
sound/soc/rockchip/rockchip_i2s.c:223 rockchip_snd_rxctrl() warn: sleeping in atomic context
regards,
dan carpenter
More information about the Linux-rockchip
mailing list