summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mmci_qcom_dml.c
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-10-08 15:08:37 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-09 10:13:03 +0300
commit02769968d95b32e1d14e30b54dc57fe525c06d2b (patch)
tree6002c7eae7b03d81f615d462a24318a5ad11cf13 /drivers/mmc/host/mmci_qcom_dml.c
parent4798351018a72deffc98cc70624dd812eff01455 (diff)
downloadlinux-02769968d95b32e1d14e30b54dc57fe525c06d2b.tar.xz
mmc: mmci: add get_next_data callback
This patch adds get_next_data callback to mmci_host_ops. Generic mmci_get_next_data factorizes next_cookie check and the host ops call. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci_qcom_dml.c')
-rw-r--r--drivers/mmc/host/mmci_qcom_dml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci_qcom_dml.c b/drivers/mmc/host/mmci_qcom_dml.c
index 156e30b54e3f..da4c43ac6e8b 100644
--- a/drivers/mmc/host/mmci_qcom_dml.c
+++ b/drivers/mmc/host/mmci_qcom_dml.c
@@ -186,6 +186,7 @@ static int qcom_dma_setup(struct mmci_host *host)
static struct mmci_host_ops qcom_variant_ops = {
.prep_data = mmci_dmae_prep_data,
.unprep_data = mmci_dmae_unprep_data,
+ .get_next_data = mmci_dmae_get_next_data,
.dma_setup = qcom_dma_setup,
.dma_release = mmci_dmae_release,
};