summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/wm8350-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/wm8350-irq.c')
-rw-r--r--kernel/drivers/mfd/wm8350-irq.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/drivers/mfd/wm8350-irq.c b/kernel/drivers/mfd/wm8350-irq.c
index 813ff50f9..27054f357 100644
--- a/kernel/drivers/mfd/wm8350-irq.c
+++ b/kernel/drivers/mfd/wm8350-irq.c
@@ -526,13 +526,7 @@ int wm8350_irq_init(struct wm8350 *wm8350, int irq,
handle_edge_irq);
irq_set_nested_thread(cur_irq, 1);
- /* ARM needs us to explicitly flag the IRQ as valid
- * and will set them noprobe when we do so. */
-#ifdef CONFIG_ARM
- set_irq_flags(cur_irq, IRQF_VALID);
-#else
- irq_set_noprobe(cur_irq);
-#endif
+ irq_clear_status_flags(cur_irq, IRQ_NOREQUEST | IRQ_NOPROBE);
}
ret = request_threaded_irq(irq, NULL, wm8350_irq, flags,