diff options
author | Ludovic Barre | 2018-10-08 14:08:37 +0200 |
---|---|---|
committer | Ulf Hansson | 2018-10-09 09:13:03 +0200 |
commit | 02769968d95b32e1d14e30b54dc57fe525c06d2b (patch) | |
tree | 6002c7eae7b03d81f615d462a24318a5ad11cf13 /drivers/mmc/host/mmci_qcom_dml.c | |
parent | 4798351018a72deffc98cc70624dd812eff01455 (diff) |
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.c | 1 |
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, }; |