mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-15 11:44:11 +00:00
driver: mailbox: set clr reg as 0 after receive data
sof use 0 for clear data. Signed-off-by: carter.li <carter.li@starfivetech.com>
This commit is contained in:
parent
28308dfd29
commit
294085b095
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ static irqreturn_t starfive_rx_irq_handler(int irq, void *p)
|
|||
return IRQ_NONE;
|
||||
|
||||
mbox_chan_received_data(chan, (void *)&val);
|
||||
writel(val, base + MBOX_CLR_REG);
|
||||
writel(0, base + MBOX_CLR_REG);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue