From: Stefan Richter Date: Sat, 9 Jun 2007 17:31:14 +0000 (+0200) Subject: firewire: fix hang after card ejection X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a515958d6f77fdff1a40f8b08a9a95ac223c5d48;p=openwrt%2Fstaging%2Fblogic.git firewire: fix hang after card ejection Signed-off-by: Stefan Richter Signed-off-by: Kristian Høgsberg --- 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) event = reg_read(ohci, OHCI1394_IntEventClear); - if (!event) + if (!event || !~event) return IRQ_NONE; reg_write(ohci, OHCI1394_IntEventClear, event);