mmc: mmci: introduce dma_priv pointer to mmci_host
commita813f2a2bccedb2c07fca66f4a67fc0093d35366
authorLudovic Barre <ludovic.barre@st.com>
Mon, 8 Oct 2018 12:08:34 +0000 (8 14:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Oct 2018 07:13:03 +0000 (9 09:13 +0200)
treec2d09176eca4a4f15690eac6679bcb4ac24a8f58
parentc3647fdc6a5a48699a1248a7f3d9a0429369e939
mmc: mmci: introduce dma_priv pointer to mmci_host

-Introduces dma_priv pointer to define specific
needs for each dma engine. This patch is needed to prepare
sdmmc variant with internal dma which not use dmaengine API.
-Moves next cookie to mmci host structure to share same cookie
management between all variants.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h