arch/arm64/imx9: Fix usdhc dma receive
Invalidate cache when dma transfer is ready Signed-off-by: Jouni Ukkonen <jouni.ukkonen@unikie.com>
This commit is contained in:
parent
a75e2704dc
commit
8a7f96e7f4
1 changed files with 2 additions and 0 deletions
|
@ -1069,6 +1069,8 @@ static void imx9_recvdma(struct imx9_dev_s *priv)
|
|||
{
|
||||
/* In an aligned case, we have always received all blocks */
|
||||
|
||||
up_invalidate_dcache((uintptr_t)priv->buffer,
|
||||
(uintptr_t)priv->buffer + priv->remaining);
|
||||
priv->remaining = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue