Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}