diff options
-rw-r--r-- | drivers/mmc/host/sdhci-xenon.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-xenon.c b/drivers/mmc/host/sdhci-xenon.c index 0842bbc2d7ad..4d0791f6ec23 100644 --- a/drivers/mmc/host/sdhci-xenon.c +++ b/drivers/mmc/host/sdhci-xenon.c | |||
@@ -230,7 +230,14 @@ static void xenon_set_power(struct sdhci_host *host, unsigned char mode, | |||
230 | mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); | 230 | mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); |
231 | } | 231 | } |
232 | 232 | ||
233 | static void xenon_voltage_switch(struct sdhci_host *host) | ||
234 | { | ||
235 | /* Wait for 5ms after set 1.8V signal enable bit */ | ||
236 | usleep_range(5000, 5500); | ||
237 | } | ||
238 | |||
233 | static const struct sdhci_ops sdhci_xenon_ops = { | 239 | static const struct sdhci_ops sdhci_xenon_ops = { |
240 | .voltage_switch = xenon_voltage_switch, | ||
234 | .set_clock = sdhci_set_clock, | 241 | .set_clock = sdhci_set_clock, |
235 | .set_power = xenon_set_power, | 242 | .set_power = xenon_set_power, |
236 | .set_bus_width = sdhci_set_bus_width, | 243 | .set_bus_width = sdhci_set_bus_width, |