diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 9d0767687e12..c279fbc4c2e5 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -994,8 +994,8 @@ static void sdhci_set_clock(struct sdhci_host *host, unsigned int clock) | |||
994 | clk |= SDHCI_CLOCK_INT_EN; | 994 | clk |= SDHCI_CLOCK_INT_EN; |
995 | sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); | 995 | sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL); |
996 | 996 | ||
997 | /* Wait max 10 ms */ | 997 | /* Wait max 20 ms */ |
998 | timeout = 10; | 998 | timeout = 20; |
999 | while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL)) | 999 | while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL)) |
1000 | & SDHCI_CLOCK_INT_STABLE)) { | 1000 | & SDHCI_CLOCK_INT_STABLE)) { |
1001 | if (timeout == 0) { | 1001 | if (timeout == 0) { |