summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorAxel Lin2015-07-02 15:26:44 +0200
committerMark Brown2015-07-08 20:29:41 +0200
commit030e6ee241f0586308622bcdd273a317976b3169 (patch)
tree243caa4da19d7a4a86fe1ad0934a5c29f890d466 /sound/soc
parentASoC: wm0010: Remove redundant spi driver bus initialization (diff)
downloadkernel-qcow2-linux-030e6ee241f0586308622bcdd273a317976b3169.tar.gz
kernel-qcow2-linux-030e6ee241f0586308622bcdd273a317976b3169.tar.xz
kernel-qcow2-linux-030e6ee241f0586308622bcdd273a317976b3169.zip
ASoC: wm0010: Remove spurious missing IRQF_ONESHOT
This reverts 58d468328646 ("ASoC: wm0010: Add missing IRQF_ONESHOT"). The coccinelle warnings is false positive because the original code does set IRQF_ONESHOT by "trigger |= IRQF_ONESHOT;". Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm0010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index e1da49f39334..f2c6ad4b8fde 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
@@ -953,7 +953,7 @@ static int wm0010_spi_probe(struct spi_device *spi)
trigger = IRQF_TRIGGER_FALLING;
trigger |= IRQF_ONESHOT;
- ret = request_threaded_irq(irq, NULL, wm0010_irq, trigger | IRQF_ONESHOT,
+ ret = request_threaded_irq(irq, NULL, wm0010_irq, trigger,
"wm0010", wm0010);
if (ret) {
dev_err(wm0010->dev, "Failed to request IRQ %d: %d\n",