Commit e597e989 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Stefan Richter

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: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent c088ab30
...@@ -1856,7 +1856,8 @@ static irqreturn_t irq_handler(int irq, void *data) ...@@ -1856,7 +1856,8 @@ static irqreturn_t irq_handler(int irq, void *data)
spin_lock(&ohci->lock); spin_lock(&ohci->lock);
update_bus_time(ohci); update_bus_time(ohci);
spin_unlock(&ohci->lock); spin_unlock(&ohci->lock);
} } else
flush_writes(ohci);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment