diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2014-03-14 21:11:56 +0900 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-04-20 16:59:28 -0400 |
commit | 79f7ae7c45a6ccf04e2908337461dee615f6afb0 (patch) | |
tree | d1fd1856fff504aeaa94782ff9e8ac47e36f0dcb /drivers/mmc/core | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f (diff) | |
download | linux-79f7ae7c45a6ccf04e2908337461dee615f6afb0.tar.gz linux-79f7ae7c45a6ccf04e2908337461dee615f6afb0.tar.bz2 linux-79f7ae7c45a6ccf04e2908337461dee615f6afb0.zip |
mmc: clarify DDR timing mode between SD-UHS and eMMC
This change distinguishes DDR timing mode of current
mixed usage to clarify device type.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/debugfs.c | 3 | ||||
-rw-r--r-- | drivers/mmc/core/mmc.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 54829c0ed000..509229b48b55 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -135,6 +135,9 @@ static int mmc_ios_show(struct seq_file *s, void *data) case MMC_TIMING_UHS_DDR50: str = "sd uhs DDR50"; break; + case MMC_TIMING_MMC_DDR52: + str = "mmc DDR52"; + break; case MMC_TIMING_MMC_HS200: str = "mmc high-speed SDR200"; break; diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 1ab5f3a0af5b..e22d8515ff97 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -1264,7 +1264,7 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, goto err; } mmc_card_set_ddr_mode(card); - mmc_set_timing(card->host, MMC_TIMING_UHS_DDR50); + mmc_set_timing(card->host, MMC_TIMING_MMC_DDR52); mmc_set_bus_width(card->host, bus_width); } } |