未验证 提交 036e4963 编写于 作者: J Jerome Brunet 提交者: Mark Brown

ASoC: meson: use IRQ_RETVAL in the fifo irq handler

Use IRQ_RETVAL instead of the open coded ternary operation.
Suggested-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 76996760
......@@ -174,7 +174,7 @@ static irqreturn_t axg_fifo_pcm_irq_block(int irq, void *dev_id)
/* Ack irqs */
axg_fifo_ack_irq(fifo, status);
return !status ? IRQ_NONE : IRQ_HANDLED;
return IRQ_RETVAL(status);
}
static int axg_fifo_pcm_open(struct snd_pcm_substream *ss)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册