mmc: mmci: internalize dma map/unmap into mmci dma functions
authorLudovic Barre <ludovic.barre@st.com>
Fri, 21 Sep 2018 09:45:55 +0000 (11:45 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commit7b2a6d518d0c9dc92910c089b75f859ec916b93a
tree871ba909fc5793ab5def362e54ccbb18cb648837
parent2ffca7a34df5ce95efff4a481cd79ec47abf3d6d
mmc: mmci: internalize dma map/unmap into mmci dma functions

This patch internalizes the management of dma map/unmap into
mmci dma interfaces. This allows to simplify and prepare the next dma
callbacks for mmci host ops.
mmci_dma_unmap was called in mmci_data_irq & mmci_cmd_irq functions
and can be integrated in mmci_dma_data_error.

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