From ac2a1f0bb147189264158dd04d43708ea61fb474 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 9 Feb 2015 15:24:31 -0600 Subject: [PATCH] ARMv7-A interrupt handler: Should not automatically re-enable interrupts on interrupt return. That interferes with the driver's ability to manage interrupts. --- arch/arm/src/armv7-a/arm_doirq.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/src/armv7-a/arm_doirq.c b/arch/arm/src/armv7-a/arm_doirq.c index ce175d7c1e..e8661cbecd 100644 --- a/arch/arm/src/armv7-a/arm_doirq.c +++ b/arch/arm/src/armv7-a/arm_doirq.c @@ -87,10 +87,6 @@ uint32_t *arm_doirq(int irq, uint32_t *regs) current_regs = regs; - /* Mask and acknowledge the interrupt */ - - up_maskack_irq(irq); - /* Deliver the IRQ */ irq_dispatch(irq, regs); @@ -129,10 +125,6 @@ uint32_t *arm_doirq(int irq, uint32_t *regs) regs = (uint32_t *)current_regs; current_regs = NULL; - - /* Unmask the last interrupt (global interrupts are still disabled) */ - - up_enable_irq(irq); #endif board_led_off(LED_INIRQ);