diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mmci.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index f67fd4f2ab48..0b4a5bf0ec2c 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -101,13 +101,7 @@ static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired) | |||
101 | 101 | ||
102 | if (desired) { | 102 | if (desired) { |
103 | if (desired >= host->mclk) { | 103 | if (desired >= host->mclk) { |
104 | /* | 104 | clk = MCI_CLK_BYPASS; |
105 | * The ST clock divider does not like the bypass bit, | ||
106 | * even though it's available. Instead the datasheet | ||
107 | * recommends setting the divider to zero. | ||
108 | */ | ||
109 | if (!variant->st_clkdiv) | ||
110 | clk = MCI_CLK_BYPASS; | ||
111 | host->cclk = host->mclk; | 105 | host->cclk = host->mclk; |
112 | } else if (variant->st_clkdiv) { | 106 | } else if (variant->st_clkdiv) { |
113 | /* | 107 | /* |