From 1a98e3a702dbe60a716ebeebadb07498055c81fb Mon Sep 17 00:00:00 2001 From: CTCaer Date: Fri, 4 Oct 2024 21:53:17 +0300 Subject: [PATCH] bdk: irq: disable irq if handler error --- bdk/soc/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bdk/soc/irq.c b/bdk/soc/irq.c index f100dba..f39774e 100644 --- a/bdk/soc/irq.c +++ b/bdk/soc/irq.c @@ -124,8 +124,8 @@ static irq_status_t _irq_handle_source(u32 irq) } } - // Do not re-enable if not handled. - if (status == IRQ_NONE) + // Do not re-enable if not handled or error. + if (status != IRQ_HANDLED) return status; if (irqs[idx].flags & IRQ_FLAG_ONE_OFF)