]> err.no Git - linux-2.6/commitdiff
firewire: fix hang after card ejection
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 9 Jun 2007 17:31:14 +0000 (19:31 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sat, 16 Jun 2007 10:43:20 +0000 (12:43 +0200)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
drivers/firewire/fw-ohci.c

index 0d08bf9b78c21d8f1811a317e5145ae577e4cc98..b72a5c1f9e6999575c17b4801073df0799f37dd1 100644 (file)
@@ -1001,7 +1001,7 @@ static irqreturn_t irq_handler(int irq, void *data)
 
        event = reg_read(ohci, OHCI1394_IntEventClear);
 
-       if (!event)
+       if (!event || !~event)
                return IRQ_NONE;
 
        reg_write(ohci, OHCI1394_IntEventClear, event);