From 21c69918d38b2d4bf01c45b920cddb732da8fe62 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Fri, 10 Mar 2017 12:29:11 +0100 Subject: [PATCH] add support for higher IRQs in case of multiple MSI interrupts --- ddbridge/ddbridge-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index 29a5993..9ccc2aa 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -3646,9 +3646,9 @@ static irqreturn_t irq_handler0(int irq, void *dev_id) do { if (s & 0x80000000) return IRQ_NONE; - if (!(s & 0xfff00)) + if (!(s & 0xfffff00)) return IRQ_NONE; - ddbwritel(dev, s & 0xfff00, INTERRUPT_ACK); + ddbwritel(dev, s & 0xfffff00, INTERRUPT_ACK); irq_handle_io(dev, s); } while ((s = ddbreadl(dev, INTERRUPT_STATUS)));