mmc: mmci: Add and implement a ->dma_setup() callback for qcom dml
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 11:08:18 +0000 (13:08 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Aug 2018 10:01:13 +0000 (12:01 +0200)
commit29aba07aea0e36c996001ca3f8997316ebefe0e1
tree98061416a2b2ac0e84b722141fc0c7e12be3a2da
parented9067fd5f299db7110861a0434d0e2ffb961649
mmc: mmci: Add and implement a ->dma_setup() callback for qcom dml

As a first step to improve the variant specific code for mmci, add a
->dma_setup() callback to the struct mmci_host_ops.

To show its use, let's deploy the callback for the qcom dml, which involves
also to the assign the mmci_host_ops pointer from the variant ->init()
callback.

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