mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
UPSTREAM: 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().
Change-Id: I42e14edddbf7eccecb18bbff2abd802ea8dacd43
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>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from 07be55b567)
This commit is contained in:
@@ -581,8 +581,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);
|
||||
else
|
||||
sdhci_adma_write_desc(host, desc, addr, len, cmd);
|
||||
}
|
||||
|
||||
static void sdhci_adma_mark_end(void *desc)
|
||||
|
||||
Reference in New Issue
Block a user