diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 572555876643..a25575f87b7e 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1518,7 +1518,7 @@ static void sdhci_notify_halt(struct mmc_host *mmc, bool halt) pr_debug("%s: halt notification was sent, halt=%d\n", mmc_hostname(mmc), halt); - if (host->flags & SDHCI_USE_ADMA_64BIT) { + if (host->flags & SDHCI_USE_64_BIT_DMA) { if (halt) host->adma_desc_line_sz = 16; else @@ -4173,7 +4173,7 @@ int sdhci_add_host(struct sdhci_host *host) } if (mmc->caps2 & MMC_CAP2_CMD_QUEUE) { - bool dma64 = (host->flags & SDHCI_USE_ADMA_64BIT) ? + bool dma64 = (host->flags & SDHCI_USE_64_BIT_DMA) ? true : false; ret = sdhci_cmdq_init(host, mmc, dma64); if (ret) @@ -4186,7 +4186,7 @@ int sdhci_add_host(struct sdhci_host *host) pr_info("%s: SDHCI controller on %s [%s] using %s in %s mode\n", mmc_hostname(mmc), host->hw_name, dev_name(mmc_dev(mmc)), (host->flags & SDHCI_USE_ADMA) ? - ((host->flags & SDHCI_USE_ADMA_64BIT) ? + ((host->flags & SDHCI_USE_64_BIT_DMA) ? "64-bit ADMA" : "32-bit ADMA") : ((host->flags & SDHCI_USE_SDMA) ? "DMA" : "PIO"), ((mmc->caps2 & MMC_CAP2_CMD_QUEUE) && !ret) ? diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 280eafd36ec9..fab63762623b 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -531,7 +531,6 @@ struct sdhci_host { #define SDHCI_SDIO_IRQ_ENABLED (1<<9) /* SDIO irq enabled */ #define SDHCI_SDR104_NEEDS_TUNING (1<<10) /* SDR104/HS200 needs tuning */ #define SDHCI_USE_64_BIT_DMA (1<<12) /* Use 64-bit DMA */ -#define SDHCI_USE_ADMA_64BIT (1<<12) /* Host is 64-bit ADMA capable */ #define SDHCI_HS400_TUNING (1<<13) /* Tuning for HS400 */ #define SDHCI_HOST_IRQ_STATUS (1<<14) /* host->irq status */