Commit 07be55b5 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Ulf Hansson
Browse files

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: default avatarJisheng Zhang <>
Acked-by: default avatarAdrian Hunter <>
Signed-off-by: default avatarUlf Hansson <>
parent 5a941898
......@@ -649,8 +649,8 @@ static inline void __sdhci_adma_write_desc(struct sdhci_host *host,
if (host->ops->adma_write_desc)
host->ops->adma_write_desc(host, desc, addr, len, cmd);
sdhci_adma_write_desc(host, desc, addr, len, cmd);
sdhci_adma_write_desc(host, desc, addr, len, cmd);
static void sdhci_adma_mark_end(void *desc)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment