Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-esdhc-imx: fix mmc ddr mode regression issue

It's caused by the platform driver was still using MMC_TIMING_UHS_DDR50
for MMC DDR mode which needs update too.

Reported-by: Fabio Estevam <fabio.estevam@freescale.com>
Reported-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
[Ulf Hansson] Resolved conflict
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>

authored by

Aisheng Dong and committed by
Chris Ball
69f5bf38 706adf6b

+1
+1
drivers/mmc/host/sdhci-esdhc-imx.c
··· 852 852 case MMC_TIMING_MMC_HS200: 853 853 break; 854 854 case MMC_TIMING_UHS_DDR50: 855 + case MMC_TIMING_MMC_DDR52: 855 856 writel(readl(host->ioaddr + ESDHC_MIX_CTRL) | 856 857 ESDHC_MIX_CTRL_DDREN, 857 858 host->ioaddr + ESDHC_MIX_CTRL);