diff options
author | Aisheng.Dong <b29396@freescale.com> | 2010-07-15 19:17:50 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2010-12-17 12:10:51 -0500 |
commit | 3e6b10acd47ba89d902219f1d3eb352e6e31becc (patch) | |
tree | 5d49ccaf69d7d85627530f3754ea79b466107eba | |
parent | a4cbfb84b0b75a0134d2b4a8f1acbbf4ef1e46f8 (diff) |
ENGR00125206 mmc: update clock setting for mx50
The clock prescaler can not be 0 for esdhc v3 in MX50.
(The smallest value should be 1).
Change the clock setting part to cover this special case.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r-- | drivers/mmc/host/mx_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mx_sdhci.c b/drivers/mmc/host/mx_sdhci.c index 229210dd0d0a..520310a3354c 100644 --- a/drivers/mmc/host/mx_sdhci.c +++ b/drivers/mmc/host/mx_sdhci.c @@ -817,7 +817,7 @@ static void sdhci_set_clock(struct sdhci_host *host, unsigned int clock) if (clock == host->min_clk) prescaler = 16; - else if (cpu_is_mx53()) + else if (cpu_is_mx53() || cpu_is_mx50()) prescaler = 1; else prescaler = 0; |