firewire: ohci: flush MMIO writes in the interrupt handler
authorClemens Ladisch <clemens@ladisch.de>
Tue, 30 Nov 2010 07:24:19 +0000 (08:24 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 13 Dec 2010 19:39:14 +0000 (20:39 +0100)
Make sure that interrupt event clear bit writes are executed before the
interrupt handler returns.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c

index 3775364..276324d 100644 (file)
@@ -1856,7 +1856,8 @@ static irqreturn_t irq_handler(int irq, void *data)
                spin_lock(&ohci->lock);
                update_bus_time(ohci);
                spin_unlock(&ohci->lock);
-       }
+       } else
+               flush_writes(ohci);
 
        return IRQ_HANDLED;
 }