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

Commit 0ffa76d8 authored by Chris Lew's avatar Chris Lew
Browse files

mailbox: msm_qmp: Add interrupt register clear



Certain registers need to be cleared before a subsequent interrupt can
be triggered. Clear the register after sending an interrupt.

Change-Id: I2c16758475c709d5e577d19e23054c5ccad0258a
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 6330314c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ static void send_irq(struct qmp_device *mdev)
	 */
	wmb();
	writel_relaxed(mdev->irq_mask, mdev->tx_irq_reg);
	writel_relaxed(0x0, mdev->tx_irq_reg);
	mdev->tx_irq_count++;
}