diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2010-11-30 08:24:19 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-12-13 20:39:14 +0100 |
commit | e597e9898abe45beff4696159c7fe5c96f53e581 (patch) | |
tree | e50555f1356e9c5ad206215df1eed4e0e33bd517 /drivers/firewire/ohci.c | |
parent | firewire: ohci: fix AT context initialization error handling (diff) | |
download | linux-e597e9898abe45beff4696159c7fe5c96f53e581.tar.xz linux-e597e9898abe45beff4696159c7fe5c96f53e581.zip |
firewire: ohci: flush MMIO writes in the interrupt handler
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>
Diffstat (limited to 'drivers/firewire/ohci.c')
-rw-r--r-- | drivers/firewire/ohci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index 3775364f1b51..276324d741df 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c @@ -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; } |