diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index c7586739be1e..f4066fdc8906 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1057,6 +1057,13 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power) | |||
1057 | pwr |= SDHCI_POWER_ON; | 1057 | pwr |= SDHCI_POWER_ON; |
1058 | 1058 | ||
1059 | sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL); | 1059 | sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL); |
1060 | |||
1061 | /* | ||
1062 | * Some controllers need an extra 10ms delay of 10ms before they | ||
1063 | * can apply clock after applying power | ||
1064 | */ | ||
1065 | if ((host->quirks & SDHCI_QUIRK_DELAY_AFTER_POWER)) | ||
1066 | mdelay(10); | ||
1060 | } | 1067 | } |
1061 | 1068 | ||
1062 | /*****************************************************************************\ | 1069 | /*****************************************************************************\ |