aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/irq.c')
-rw-r--r--arch/arm/mach-imx/irq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c
index 2ce75625b417..232e3b9f880d 100644
--- a/arch/arm/mach-imx/irq.c
+++ b/arch/arm/mach-imx/irq.c
@@ -182,14 +182,12 @@ static void
182imx_gpio_handler(unsigned int mask, unsigned int irq, 182imx_gpio_handler(unsigned int mask, unsigned int irq,
183 struct irq_desc *desc) 183 struct irq_desc *desc)
184{ 184{
185 desc = irq_desc + irq;
186 while (mask) { 185 while (mask) {
187 if (mask & 1) { 186 if (mask & 1) {
188 DEBUG_IRQ("handling irq %d\n", irq); 187 DEBUG_IRQ("handling irq %d\n", irq);
189 desc_handle_irq(irq, desc); 188 generic_handle_irq(irq);
190 } 189 }
191 irq++; 190 irq++;
192 desc++;
193 mask >>= 1; 191 mask >>= 1;
194 } 192 }
195} 193}