summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-10-15 17:25:33 +0800
committerAisheng.Dong <b29396@freescale.com>2010-10-18 12:42:08 +0800
commitfcdb748cea254c18e3ca85d4a1d3a2254dda6704 (patch)
tree2edde53e3e340f89434faa166740c11cf753490e
parent86c82e487066b04ff934453242e78ea901d16cc0 (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 |