aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-ohci.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-06-09 13:31:14 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-06-16 06:43:20 -0400
commita515958d6f77fdff1a40f8b08a9a95ac223c5d48 (patch)
tree24204825fc5c37e4ee38c0755cb8441ed2c192e8 /drivers/firewire/fw-ohci.c
parentde7f928ca460005086a8296be07c217aac4b625d (diff)
firewire: fix hang after card ejection
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Diffstat (limited to 'drivers/firewire/fw-ohci.c')
-rw-r--r--drivers/firewire/fw-ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 0d08bf9b78c2..b72a5c1f9e69 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -1001,7 +1001,7 @@ static irqreturn_t irq_handler(int irq, void *data)
1001 1001
1002 event = reg_read(ohci, OHCI1394_IntEventClear); 1002 event = reg_read(ohci, OHCI1394_IntEventClear);
1003 1003
1004 if (!event) 1004 if (!event || !~event)
1005 return IRQ_NONE; 1005 return IRQ_NONE;
1006 1006
1007 reg_write(ohci, OHCI1394_IntEventClear, event); 1007 reg_write(ohci, OHCI1394_IntEventClear, event);