mmc: sdhci: fix __sdhci_adma_write_desc
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 17 Sep 2018 05:30:41 +0000 (13:30 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commit07be55b567a556c7e4d421e5f4bb4248933bfe32
treecd2cc2eb473048da024cbbf73147f82c69859f99
parent5a941898233c25a44bdcf799543842506cb77334
mmc: sdhci: fix __sdhci_adma_write_desc

If hosts provides ops->adma_write_desc, we should not fall back to the
general sdhci_adma_write_desc().

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c