aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci.c3
-rw-r--r--drivers/mmc/host/sdhci.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 23358d339a68..9cb60bac1950 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1182,6 +1182,9 @@ static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
1182 else 1182 else
1183 sdhci_set_power(host, ios->vdd); 1183 sdhci_set_power(host, ios->vdd);
1184 1184
1185 if (host->ops->platform_send_init_74_clocks)
1186 host->ops->platform_send_init_74_clocks(host, ios->power_mode);
1187
1185 ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL); 1188 ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);
1186 1189
1187 if (ios->bus_width == MMC_BUS_WIDTH_8) 1190 if (ios->bus_width == MMC_BUS_WIDTH_8)
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 410ee8aa04d4..bfcd611d7b77 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -212,6 +212,8 @@ struct sdhci_ops {
212 unsigned int (*get_max_clock)(struct sdhci_host *host); 212 unsigned int (*get_max_clock)(struct sdhci_host *host);
213 unsigned int (*get_min_clock)(struct sdhci_host *host); 213 unsigned int (*get_min_clock)(struct sdhci_host *host);
214 unsigned int (*get_timeout_clock)(struct sdhci_host *host); 214 unsigned int (*get_timeout_clock)(struct sdhci_host *host);
215 void (*platform_send_init_74_clocks)(struct sdhci_host *host,
216 u8 power_mode);
215}; 217};
216 218
217#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS 219#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS