summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-10-15 17:25:33 +0800
committerJustin Waters <justin.waters@timesys.com>2010-12-13 16:10:31 -0500
commitfabab47af4ea9190b8d3d44bc5a2836697e6789b (patch)
tree2edde53e3e340f89434faa166740c11cf753490e
parent69f4179083ecd36690f31ca2eba9f4d79a33df90 (diff)
ENGR00132532 mxs-mmc: change serial clock polarity
Some mmc cards may not work properly with data change after rising edge of SCK. Changing to use falling edge of SCK to get better compatibility. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r--drivers/mmc/host/mxs-mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 34281632e392..f0a52edc613c 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -885,6 +885,7 @@ static void mxs_mmc_reset(struct mxs_mmc_host *host)
/* Configure SSP Control Register 1 */
ssp_ctrl1 =
BM_SSP_CTRL1_DMA_ENABLE |
+ BM_SSP_CTRL1_POLARITY |
BM_SSP_CTRL1_RECV_TIMEOUT_IRQ_EN |
BM_SSP_CTRL1_DATA_CRC_IRQ_EN |
BM_SSP_CTRL1_DATA_TIMEOUT_IRQ_EN |