diff options
Diffstat (limited to 'drivers/mfd/wm831x-irq.c')
-rw-r--r-- | drivers/mfd/wm831x-irq.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mfd/wm831x-irq.c b/drivers/mfd/wm831x-irq.c index 3da81263c764..dfea8b9c2fe6 100644 --- a/drivers/mfd/wm831x-irq.c +++ b/drivers/mfd/wm831x-irq.c | |||
@@ -552,14 +552,7 @@ static int wm831x_irq_map(struct irq_domain *h, unsigned int virq, | |||
552 | irq_set_chip_data(virq, h->host_data); | 552 | irq_set_chip_data(virq, h->host_data); |
553 | irq_set_chip_and_handler(virq, &wm831x_irq_chip, handle_edge_irq); | 553 | irq_set_chip_and_handler(virq, &wm831x_irq_chip, handle_edge_irq); |
554 | irq_set_nested_thread(virq, 1); | 554 | irq_set_nested_thread(virq, 1); |
555 | |||
556 | /* ARM needs us to explicitly flag the IRQ as valid | ||
557 | * and will set them noprobe when we do so. */ | ||
558 | #ifdef CONFIG_ARM | ||
559 | set_irq_flags(virq, IRQF_VALID); | ||
560 | #else | ||
561 | irq_set_noprobe(virq); | 555 | irq_set_noprobe(virq); |
562 | #endif | ||
563 | 556 | ||
564 | return 0; | 557 | return 0; |
565 | } | 558 | } |