aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 6f1fd02fe01b..e06299734f5d 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1068,7 +1068,7 @@ static void sdhci_set_clock(struct sdhci_host *host, unsigned int clock)
1068 u16 clk = 0; 1068 u16 clk = 0;
1069 unsigned long timeout; 1069 unsigned long timeout;
1070 1070
1071 if (clock == host->clock) 1071 if (clock && clock == host->clock)
1072 return; 1072 return;
1073 1073
1074 host->mmc->actual_clock = 0; 1074 host->mmc->actual_clock = 0;