]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/ieee1394/ohci1394.c
ieee1394: ohci1394: fix cosmetic problem in error logging
[karo-tx-linux.git] / drivers / ieee1394 / ohci1394.c
index 06fac0d21264a2b022ad1c554b52351e426b7261..d91ef33171b292bb14e2448bd09245568c067253 100644 (file)
@@ -2377,6 +2377,7 @@ static irqreturn_t ohci_irq_handler(int irq, void *dev_id)
        if (event & OHCI1394_postedWriteErr) {
                PRINT(KERN_ERR, "physical posted write error");
                /* no recovery strategy yet, had to involve protocol drivers */
+               event &= ~OHCI1394_postedWriteErr;
        }
        if (event & OHCI1394_cycleTooLong) {
                if(printk_ratelimit())
@@ -3658,6 +3659,7 @@ static struct pci_driver ohci1394_pci_driver = {
 /* essentially the only purpose of this code is to allow another
    module to hook into ohci's interrupt handler */
 
+/* returns zero if successful, one if DMA context is locked up */
 int ohci1394_stop_context(struct ti_ohci *ohci, int reg, char *msg)
 {
        int i=0;