mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
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>
This commit is contained in:
parent
5a94189823
commit
07be55b567
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
else
|
||||
sdhci_adma_write_desc(host, desc, addr, len, cmd);
|
||||
}
|
||||
|
||||
static void sdhci_adma_mark_end(void *desc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue