ASoC: wm0010: Remove spurious missing IRQF_ONESHOT
authorAxel Lin <axel.lin@ingics.com>
Thu, 2 Jul 2015 13:26:44 +0000 (21:26 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2015 18:29:41 +0000 (19:29 +0100)
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>
sound/soc/codecs/wm0010.c

index e1da49f393341788ebad2d3b2b89335430d0b8c3..f2c6ad4b8fde03f489572e5ce2abf326dd2662b8 100644 (file)
@@ -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",