aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r--arch/arm/mach-mmp/irq-mmp2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/irq-mmp2.c b/arch/arm/mach-mmp/irq-mmp2.c
index b187c027822d..cb18221c0af3 100644
--- a/arch/arm/mach-mmp/irq-mmp2.c
+++ b/arch/arm/mach-mmp/irq-mmp2.c
@@ -102,7 +102,11 @@ static void init_mux_irq(struct irq_chip *chip, int start, int num)
102 int irq; 102 int irq;
103 103
104 for (irq = start; num > 0; irq++, num--) { 104 for (irq = start; num > 0; irq++, num--) {
105 chip->mask_ack(irq); 105 /* mask and clear the IRQ */
106 chip->mask(irq);
107 if (chip->ack)
108 chip->ack(irq);
109
106 set_irq_chip(irq, chip); 110 set_irq_chip(irq, chip);
107 set_irq_flags(irq, IRQF_VALID); 111 set_irq_flags(irq, IRQF_VALID);
108 set_irq_handler(irq, handle_level_irq); 112 set_irq_handler(irq, handle_level_irq);