mmc: host: Use correct flag to support 64-bit DMA
Use correct flag(SDHCI_USE_64BIT_DMA) to support 64-bit DMA on 4.4 kernel. Change-Id: If29cd030e84603264d0091e015b2885a9303d860 Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
This commit is contained in:
parent
c0a8f9e80a
commit
f58bc3983e
1 changed files with 1 additions and 1 deletions
|
@ -3520,7 +3520,7 @@ static void sdhci_cmdq_set_transfer_params(struct mmc_host *mmc)
|
||||||
if (host->version >= SDHCI_SPEC_200) {
|
if (host->version >= SDHCI_SPEC_200) {
|
||||||
ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);
|
ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);
|
||||||
ctrl &= ~SDHCI_CTRL_DMA_MASK;
|
ctrl &= ~SDHCI_CTRL_DMA_MASK;
|
||||||
if (host->flags & SDHCI_USE_ADMA_64BIT)
|
if (host->flags & SDHCI_USE_64_BIT_DMA)
|
||||||
ctrl |= SDHCI_CTRL_ADMA64;
|
ctrl |= SDHCI_CTRL_ADMA64;
|
||||||
else
|
else
|
||||||
ctrl |= SDHCI_CTRL_ADMA32;
|
ctrl |= SDHCI_CTRL_ADMA32;
|
||||||
|
|
Loading…
Add table
Reference in a new issue