projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7699676
)
ASoC: meson: use IRQ_RETVAL in the fifo irq handler
author
Jerome Brunet
<jbrunet@baylibre.com>
Thu, 26 Jul 2018 12:45:42 +0000
(14:45 +0200)
committer
Mark Brown
<broonie@kernel.org>
Thu, 26 Jul 2018 14:45:42 +0000
(15:45 +0100)
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>
sound/soc/meson/axg-fifo.c
patch
|
blob
|
history
diff --git
a/sound/soc/meson/axg-fifo.c
b/sound/soc/meson/axg-fifo.c
index db367d85290fb0949d1f63392c096c1a7f81cc54..30262550e37b1e2e0195e4ac8d0fb68825ac3f3e 100644
(file)
--- a/
sound/soc/meson/axg-fifo.c
+++ b/
sound/soc/meson/axg-fifo.c
@@
-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)