Skip to content

Commit

Permalink
firewire: fix hang after card ejection
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
  • Loading branch information
Stefan Richter committed Jun 16, 2007
1 parent de7f928 commit a515958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firewire/fw-ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a515958

Please sign in to comment.