@@ -1782,7 +1782,7 @@ static int sdhci_do_start_signal_voltage_switch(struct sdhci_host *host,
/* Some controller need to do more when switching */
if (host->ops->voltage_switch)
- host->ops->voltage_switch(host);
+ host->ops->voltage_switch(host, MMC_SIGNAL_VOLTAGE_180);
/* 1.8V regulator output should be stable within 5 ms */
ctrl = sdhci_readw(host, SDHCI_HOST_CONTROL2);
@@ -537,7 +537,7 @@ struct sdhci_ops {
void (*adma_workaround)(struct sdhci_host *host, u32 intmask);
void (*platform_init)(struct sdhci_host *host);
void (*card_event)(struct sdhci_host *host);
- void (*voltage_switch)(struct sdhci_host *host);
+ void (*voltage_switch)(struct sdhci_host *host, u8 signal_voltage);
int (*select_drive_strength)(struct sdhci_host *host,
struct mmc_card *card,
unsigned int max_dtr, int host_drv,
@@ -49,7 +49,8 @@ struct f_sdhost_priv {
struct device *dev;
};
-static void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host)
+static void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host,
+ u8 signal_voltage)
{
struct f_sdhost_priv *priv = sdhci_priv(host);
u32 ctrl = 0;