Skip to content
Snippets Groups Projects
Commit 16547667 authored by Stefan Richter's avatar Stefan Richter
Browse files

firewire: nosy: fix IRQ handler for card ejection


Untested, I don't have a PCILynx CardBus card.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 55e77c06
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,10 @@ irq_handler(int irq, void *device)
pci_int_status = reg_read(lynx, PCI_INT_STATUS);
if (pci_int_status == ~0)
/* Card was ejected. */
return IRQ_NONE;
if ((pci_int_status & PCI_INT_INT_PEND) == 0)
/* Not our interrupt, bail out quickly. */
return IRQ_NONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment