summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2021-10-12 10:22:07 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-10-12 10:22:07 +0200
commitf83c18cc9edc8e1a556de2d7dad956ddd9f131b9 (patch)
tree47d98469d3a3fcbfb97dbf34077499963e2e6d28 /drivers/mmc
parent8792b0a09fa470cc476b2124f6c1061258c9ef7a (diff)
parent4217d07b9fb328751f877d3bd9550122014860a2 (diff)
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 357b365bf0ec..dbe87995596c 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2039,6 +2039,12 @@ void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode,
break;
case MMC_VDD_32_33:
case MMC_VDD_33_34:
+ /*
+ * 3.4 ~ 3.6V are valid only for those platforms where it's
+ * known that the voltage range is supported by hardware.
+ */
+ case MMC_VDD_34_35:
+ case MMC_VDD_35_36:
pwr = SDHCI_POWER_330;
break;
default: