commit | a515958d6f77fdff1a40f8b08a9a95ac223c5d48 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sat Jun 09 19:31:14 2007 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sat Jun 16 12:43:20 2007 +0200 |
tree | 24204825fc5c37e4ee38c0755cb8441ed2c192e8 | |
parent | de7f928ca460005086a8296be07c217aac4b625d [diff] [blame] |
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>
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 0d08bf9..b72a5c1f 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c
@@ -1001,7 +1001,7 @@ event = reg_read(ohci, OHCI1394_IntEventClear); - if (!event) + if (!event || !~event) return IRQ_NONE; reg_write(ohci, OHCI1394_IntEventClear, event);