summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-11-30 07:24:19 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-12-13 19:39:14 (GMT)
commite597e9898abe45beff4696159c7fe5c96f53e581 (patch)
treee50555f1356e9c5ad206215df1eed4e0e33bd517
parentc088ab30ebf184afae01d919c77cebcfdce39df3 (diff)
downloadlinux-fsl-qoriq-e597e9898abe45beff4696159c7fe5c96f53e581.tar.xz
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>
-rw-r--r--drivers/firewire/ohci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index 3775364..276324d 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;
}