diff options
author | Aisheng.Dong <b29396@freescale.com> | 2010-10-15 17:25:33 +0800 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2011-01-19 11:50:07 -0500 |
commit | b55fb870d45892e3023f8d10b2ac1ca0b0fc2b10 (patch) | |
tree | 2edde53e3e340f89434faa166740c11cf753490e /drivers/mmc | |
parent | 5a4e3ad27d96362921875a98685bd82a2768d749 (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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mxs-mmc.c | 1 |
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 | |