]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit40f952d8e3ed98d2e4178f8294cfeff3459a70ff
treefd424a5e02b3c587ddcf09785993ff430729038a
parent2b849625aa0fa3d6f5a6f81ac7bfdba9159c2203
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