All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: judyhsiao@chromium.org
Cc: linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org
Subject: Re: [bug report] ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR
Date: Fri, 16 Sep 2022 17:40:58 +0300	[thread overview]
Message-ID: <YySK+novGkt2c0u9@kadam> (raw)
In-Reply-To: <YySKUQelS41ip5+q@kili>

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

WARNING: multiple messages have this Message-ID (diff)
From: Dan Carpenter <dan.carpenter@oracle.com>
To: judyhsiao@chromium.org
Cc: alsa-devel@alsa-project.org, linux-rockchip@lists.infradead.org
Subject: Re: [bug report] ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR
Date: Fri, 16 Sep 2022 17:40:58 +0300	[thread overview]
Message-ID: <YySK+novGkt2c0u9@kadam> (raw)
In-Reply-To: <YySKUQelS41ip5+q@kili>

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

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2022-09-16 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16 14:38 [bug report] ASoC: rockchip: i2s: use regmap_read_poll_timeout to poll I2S_CLR Dan Carpenter
2022-09-16 14:38 ` Dan Carpenter
2022-09-16 14:40 ` Dan Carpenter [this message]
2022-09-16 14:40   ` Dan Carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YySK+novGkt2c0u9@kadam \
    --to=dan.carpenter@oracle.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=judyhsiao@chromium.org \
    --cc=linux-rockchip@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.