aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/wm5100.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index 96740379b711..5de28bfd1079 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2570,11 +2570,13 @@ static int wm5100_i2c_probe(struct i2c_client *i2c,
2570 2570
2571 if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) 2571 if (irq_flags & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING))
2572 ret = request_threaded_irq(i2c->irq, NULL, 2572 ret = request_threaded_irq(i2c->irq, NULL,
2573 wm5100_edge_irq, irq_flags, 2573 wm5100_edge_irq,
2574 irq_flags | IRQF_ONESHOT,
2574 "wm5100", wm5100); 2575 "wm5100", wm5100);
2575 else 2576 else
2576 ret = request_threaded_irq(i2c->irq, NULL, wm5100_irq, 2577 ret = request_threaded_irq(i2c->irq, NULL, wm5100_irq,
2577 irq_flags, "wm5100", 2578 irq_flags | IRQF_ONESHOT,
2579 "wm5100",
2578 wm5100); 2580 wm5100);
2579 2581
2580 if (ret != 0) { 2582 if (ret != 0) {