dma: ti-edma3: Add DMA map operations before and after transfers
authorAndrew Davis <afd@ti.com>
Fri, 7 Oct 2022 17:11:12 +0000 (12:11 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 18 Oct 2022 17:40:40 +0000 (13:40 -0400)
commitb8392650462094ed15e123f836daccd7617946a5
treefd424a5e02b3c587ddcf09785993ff430729038a
parentc8d2fc75171465e19c8583a1ef266b3a7fe49281
dma: ti-edma3: Add DMA map operations before and after transfers

We should clean the caches before any DMA operation and clean+invalidate
after. This matches what the DMA framework does for us already but adds
it to the two functions here in this driver that don't yet go through the
new DMA framework.

Signed-off-by: Andrew Davis <afd@ti.com>
drivers/dma/ti-edma3.c