From: Clemens Ladisch Date: Tue, 30 Nov 2010 07:24:19 +0000 (+0100) Subject: firewire: ohci: flush MMIO writes in the interrupt handler X-Git-Tag: firefly_0821_release~3680^2~4548^2~54 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e597e9898abe45beff4696159c7fe5c96f53e581;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Stefan Richter --- 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; }