According to the mailbox documentation the controller should ACK
the RX only after it has finished pushing the data up the link.
Signed-off-by: Punit Agrawal <Punit.Agrawal@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
ctlr->payload_base + RX_PAYLOAD(idx),
data->rx_size);
chan->data = NULL;
- writel(~0, ctlr->mbox_base + RX_CLEAR(idx));
mbox_link_received_data(p, data);
+ writel(~0, ctlr->mbox_base + RX_CLEAR(idx));
}
return IRQ_HANDLED;