summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorMayuresh Kulkarni <mkulkarni@nvidia.com>2010-11-02 17:50:59 +0530
committerMayuresh Kulkarni <mkulkarni@nvidia.com>2010-11-02 17:50:59 +0530
commit952f2430bb2e56c8fec787248bfd1096b571ce96 (patch)
treeb8e535b0f5c5a6bc8fb1cee6178b92521b2ac2d7 /drivers/mmc/host
parent87e15f76775543ee64ca78ece08c17d0c74bc54b (diff)
parent62ce7a7f823cddb53e5e45f0644b5277581269db (diff)
Merge branch 'android-tegra-2.6.36' into linux-2.6/android-tegra-2.6.36
Change-Id: Ibb27f4380914230bb1ef85d5ea047ae29fbe2d5e
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 61670e1534b0..7577da76fbb2 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -988,7 +988,7 @@ static void sdhci_set_clock(struct sdhci_host *host, unsigned int clock)
u16 clk;
unsigned long timeout;
- if (clock == host->clock)
+ if (clock && clock == host->clock)
return;
if (host->ops->set_clock) {