mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 23:15:15 +00:00
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:
parent
94d3c68013
commit
ac2a1f0bb1
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue