mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
ASoC: meson: use IRQ_RETVAL in the fifo irq handler
Use IRQ_RETVAL instead of the open coded ternary operation. Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7699676081
commit
036e4963bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user