1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

add support for higher IRQs in case of multiple MSI interrupts

This commit is contained in:
Ralph Metzler 2017-03-10 12:29:11 +01:00
parent 326e928f66
commit 21c69918d3

View File

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