diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2016-02-05 17:58:16 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2016-02-16 18:02:44 +0800 |
commit | e0011f5cbf4ec856c9b8bb47fdf1099be5af8758 (patch) | |
tree | 8e703bde0ab69d904c11607fd89001765de7a445 /drivers | |
parent | 43abde72cb8396a812997facec89280c3bc14b7c (diff) |
MLK-12391-1 mmc: sdhci-esdhc-imx: back to STROBE_DLL_CTRL_SLV_DLY_TARGET of 1
We see CRCs with SLV_DLY_TARGET of 7 during driver runtime suspend/resume
if disable sw auto retuning. Back to SLV_DLY_TARGET of 1 which is used
in 3.14 kernel and don't have such issue.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
(cherry picked from commit cfcd9c369186ddc8c9e25e7c7573f91a4516449d)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index c0127016b862..a1b9f56bc972 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -67,6 +67,7 @@ #define ESDHC_STROBE_DLL_CTRL 0x70 #define ESDHC_STROBE_DLL_CTRL_ENABLE (1 << 0) #define ESDHC_STROBE_DLL_CTRL_RESET (1 << 1) +#define ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET 0x1 #define ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT 3 #define ESDHC_STROBE_DLL_STATUS 0x74 @@ -874,7 +875,8 @@ static void esdhc_set_strobe_dll(struct sdhci_host *host) * for the uSDHC loopback read clock */ v = ESDHC_STROBE_DLL_CTRL_ENABLE | - (7 << ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT); + (ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET + << ESDHC_STROBE_DLL_CTRL_SLV_DLY_TARGET_SHIFT); writel(v, host->ioaddr + ESDHC_STROBE_DLL_CTRL); /* wait 1us to make sure strobe dll status register stable */ udelay(1); |