aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-11-30 02:24:19 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-12-13 14:39:14 -0500
commite597e9898abe45beff4696159c7fe5c96f53e581 (patch)
treee50555f1356e9c5ad206215df1eed4e0e33bd517 /drivers/firewire
parentc088ab30ebf184afae01d919c77cebcfdce39df3 (diff)
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')
-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 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)
1856 spin_lock(&ohci->lock); 1856 spin_lock(&ohci->lock);
1857 update_bus_time(ohci); 1857 update_bus_time(ohci);
1858 spin_unlock(&ohci->lock); 1858 spin_unlock(&ohci->lock);
1859 } 1859 } else
1860 flush_writes(ohci);
1860 1861
1861 return IRQ_HANDLED; 1862 return IRQ_HANDLED;
1862} 1863}