summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mfd/rc5t583-irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mfd/rc5t583-irq.c')
-rw-r--r--kernel/drivers/mfd/rc5t583-irq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/drivers/mfd/rc5t583-irq.c b/kernel/drivers/mfd/rc5t583-irq.c
index bb8502020..3f8812daa 100644
--- a/kernel/drivers/mfd/rc5t583-irq.c
+++ b/kernel/drivers/mfd/rc5t583-irq.c
@@ -386,9 +386,7 @@ int rc5t583_irq_init(struct rc5t583 *rc5t583, int irq, int irq_base)
irq_set_chip_and_handler(__irq, &rc5t583_irq_chip,
handle_simple_irq);
irq_set_nested_thread(__irq, 1);
-#ifdef CONFIG_ARM
- set_irq_flags(__irq, IRQF_VALID);
-#endif
+ irq_clear_status_flags(__irq, IRQ_NOREQUEST);
}
ret = request_threaded_irq(irq, NULL, rc5t583_irq, IRQF_ONESHOT,