mmc: sdhci-esdhc-imx: fix mmc ddr mode regression issue
authorAisheng Dong <b29396@freescale.com>
Fri, 9 May 2014 06:53:15 +0000 (14:53 +0800)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:40:45 +0000 (08:40 -0400)
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>
drivers/mmc/host/sdhci-esdhc-imx.c

index 4866d802f9e277477d33a9bddf20604058de107a..ccec0e32590f6b5f9336f0fc77df279e429756a2 100644 (file)
@@ -852,6 +852,7 @@ static void esdhc_set_uhs_signaling(struct sdhci_host *host, unsigned timing)
        case MMC_TIMING_MMC_HS200:
                break;
        case MMC_TIMING_UHS_DDR50:
+       case MMC_TIMING_MMC_DDR52:
                writel(readl(host->ioaddr + ESDHC_MIX_CTRL) |
                                ESDHC_MIX_CTRL_DDREN,
                                host->ioaddr + ESDHC_MIX_CTRL);
This page took 0.025039 seconds and 5 git commands to generate.