bdk: irq: disable irq if handler error
This commit is contained in:
1 parent
8bf3bee08b
commit
1a98e3a702
1 file changed
+2
-2
+2
-2
@@ -124,8 +124,8 @@ static irq_status_t _irq_handle_source(u32 irq)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not re-enable if not handled.
|
// Do not re-enable if not handled or error.
|
||||||
if (status == IRQ_NONE)
|
if (status != IRQ_HANDLED)
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
if (irqs[idx].flags & IRQ_FLAG_ONE_OFF)
|
if (irqs[idx].flags & IRQ_FLAG_ONE_OFF)
|
||||||
|
|||||||
Reference in new issue
Block a user