diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-02 15:27:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-08 20:30:29 +0200 |
commit | efc04ca22303dee1f34d038af3addc13621bed58 (patch) | |
tree | b8788a9c746e1e7314196f5f6650c3c8ed3d47d8 /sound | |
parent | Linux 4.2-rc1 (diff) | |
download | linux-efc04ca22303dee1f34d038af3addc13621bed58.tar.xz linux-efc04ca22303dee1f34d038af3addc13621bed58.zip |
ASoC: wm5100: Remove spurious IRQF_ONESHOT flag
This reverts 3d907cc30d07 ("ASoC: wm5100: Pass the IRQF_ONESHOT flag").
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')
-rw-r--r-- | sound/soc/codecs/wm5100.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c index 4c10cd88c1af..98495dd61239 100644 --- a/sound/soc/codecs/wm5100.c +++ b/sound/soc/codecs/wm5100.c @@ -2570,13 +2570,11 @@ static int wm5100_i2c_probe(struct i2c_client *i2c, if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) ret = request_threaded_irq(i2c->irq, NULL, - wm5100_edge_irq, - irq_flags | IRQF_ONESHOT, + wm5100_edge_irq, irq_flags, "wm5100", wm5100); else ret = request_threaded_irq(i2c->irq, NULL, wm5100_irq, - irq_flags | IRQF_ONESHOT, - "wm5100", + irq_flags, "wm5100", wm5100); if (ret != 0) { |