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>
This commit is contained in:
committed by
Stefan Richter
parent
c088ab30eb
commit
e597e9898a
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user