Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a515958d6f77fdff1a40f8b08a9a95ac223c5d48
Commit:     a515958d6f77fdff1a40f8b08a9a95ac223c5d48
Parent:     de7f928ca460005086a8296be07c217aac4b625d
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Sat Jun 9 19:31:14 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Sat Jun 16 12:43:20 2007 +0200

    firewire: fix hang after card ejection
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
    Signed-off-by: Kristian Høgsberg <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-ohci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 0d08bf9..b72a5c1 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to