Commit 030e6ee2 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: wm0010: Remove spurious missing IRQF_ONESHOT

This reverts 58d46832 ("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: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 93d5fc8b
...@@ -953,7 +953,7 @@ static int wm0010_spi_probe(struct spi_device *spi) ...@@ -953,7 +953,7 @@ static int wm0010_spi_probe(struct spi_device *spi)
trigger = IRQF_TRIGGER_FALLING; trigger = IRQF_TRIGGER_FALLING;
trigger |= IRQF_ONESHOT; 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); "wm0010", wm0010);
if (ret) { if (ret) {
dev_err(wm0010->dev, "Failed to request IRQ %d: %d\n", dev_err(wm0010->dev, "Failed to request IRQ %d: %d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment