Skip to content

Commit 5438ad9

Browse files
Seungwon Jeoncjb
authored andcommitted
mmc: omap: clarify DDR timing mode between SD-UHS and eMMC
Replaced UHS_DDR50 with MMC_DDR52. Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Acked-by: Balaji T K <balajitk@ti.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
1 parent 6dad6c9 commit 5438ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mmc/host/omap_hsmmc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ static void omap_hsmmc_set_clock(struct omap_hsmmc_host *host)
582582
* - MMC/SD clock coming out of controller > 25MHz
583583
*/
584584
if ((mmc_slot(host).features & HSMMC_HAS_HSPE_SUPPORT) &&
585-
(ios->timing != MMC_TIMING_UHS_DDR50) &&
585+
(ios->timing != MMC_TIMING_MMC_DDR52) &&
586586
((OMAP_HSMMC_READ(host->base, CAPA) & HSS) == HSS)) {
587587
regval = OMAP_HSMMC_READ(host->base, HCTL);
588588
if (clkdiv && (clk_get_rate(host->fclk)/clkdiv) > 25000000)
@@ -602,7 +602,7 @@ static void omap_hsmmc_set_bus_width(struct omap_hsmmc_host *host)
602602
u32 con;
603603

604604
con = OMAP_HSMMC_READ(host->base, CON);
605-
if (ios->timing == MMC_TIMING_UHS_DDR50)
605+
if (ios->timing == MMC_TIMING_MMC_DDR52)
606606
con |= DDR; /* configure in DDR mode */
607607
else
608608
con &= ~DDR;

0 commit comments

Comments
 (0)