Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 036e4963 authored by Jerome Brunet's avatar Jerome Brunet Committed by Mark Brown
Browse files

ASoC: meson: use IRQ_RETVAL in the fifo irq handler



Use IRQ_RETVAL instead of the open coded ternary operation.

Suggested-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 76996760
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -174,7 +174,7 @@ static irqreturn_t axg_fifo_pcm_irq_block(int irq, void *dev_id)
	/* Ack irqs */
	/* Ack irqs */
	axg_fifo_ack_irq(fifo, status);
	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)
static int axg_fifo_pcm_open(struct snd_pcm_substream *ss)