k1📫 when receiving a msg, it is best to send an ACK to other end

Change-Id: I580796f4481dc0b8b035305ebe6e2067d5bce4cd
This commit is contained in:
Nell
2025-02-05 21:28:39 +08:00
committed by 张猛
parent 93f3451151
commit 1ad832638e

View File

@@ -67,6 +67,10 @@ static irqreturn_t spacemit_mbox_irq(int irq, void *dev_id)
/* clear the irq pending */
writel(1 << i, (void __iomem *)&mbox->regs->ipc_icr);
/* then send an ack */
writel(1 << (i + SPACEMIT_TX_ACK_OFFSET), (void __iomem *)&mbox->regs->ipc_isrw);
}
return IRQ_HANDLED;