Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jisheng Zhang and committed by
Ulf Hansson
07be55b5 5a941898

+2 -2
+2 -2
drivers/mmc/host/sdhci.c
··· 649 649 { 650 650 if (host->ops->adma_write_desc) 651 651 host->ops->adma_write_desc(host, desc, addr, len, cmd); 652 - 653 - sdhci_adma_write_desc(host, desc, addr, len, cmd); 652 + else 653 + sdhci_adma_write_desc(host, desc, addr, len, cmd); 654 654 } 655 655 656 656 static void sdhci_adma_mark_end(void *desc)