diff options
-rw-r--r-- | drivers/mmc/core/core.c | 2 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 9584bffa8b22..a4844a6868d1 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -45,6 +45,8 @@ #include "sd_ops.h" #include "sdio_ops.h" +#define DEBUG 1 + /* If the device is not responding */ #define MMC_CORE_TIMEOUT_MS (10 * 60 * 1000) /* 10 minute timeout */ diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index cbb245b58538..185069f49fca 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -3240,6 +3240,9 @@ int sdhci_add_host(struct sdhci_host *host) if (host->ocr_avail_mmc) mmc->ocr_avail_mmc &= host->ocr_avail_mmc; + // !!! + mmc->ocr_avail |= MMC_VDD_165_195; // | MMC_VDD_32_33 | MMC_VDD_33_34; + if (mmc->ocr_avail == 0) { pr_err("%s: Hardware doesn't report any " "support voltages.\n", mmc_hostname(mmc)); |