ARMv7-A interrupt handler: Should not automatically re-enable interrupts on interrupt return. That interferes with the driver's ability to manage interrupts.

This commit is contained in:
Gregory Nutt 2015-02-09 15:24:31 -06:00
parent 94d3c68013
commit ac2a1f0bb1

View File

@ -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);