mmc: fsl_esdhc_imx: use dma-mapping API
authorSean Anderson <sean.anderson@seco.com>
Tue, 23 Nov 2021 20:03:43 +0000 (15:03 -0500)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Jan 2022 00:56:40 +0000 (09:56 +0900)
commit01672677690149ea91c6cd88f055961b6f9fc046
tree5ffe8fea791cadb19e07baa1407d9ca159d7b629
parented9e9b2213b6fe09005349057afa33a044bdd4d3
mmc: fsl_esdhc_imx: use dma-mapping API

[ fsl_esdhc commit b1ba1460a445bcc67972a617625d0349e4f22b31 ]

Use the dma_{map,unmap}_single() calls. These will take care of the
flushing and invalidation of caches.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/fsl_esdhc_imx.c