diff options
author | Aaron Lu <aaron.lu@amd.com> | 2011-09-02 16:06:08 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 16:32:10 -0400 |
commit | cd8a3666987ba20908bbeb7c78ed9ba82b365643 (patch) | |
tree | 70d34078711456023c6363795a6cddda29f68d4d /drivers/mmc | |
parent | 714c4a6e3a0f730834ec8a8bc83b2a6da33f54dc (diff) | |
download | linux-stable-cd8a3666987ba20908bbeb7c78ed9ba82b365643.tar.gz linux-stable-cd8a3666987ba20908bbeb7c78ed9ba82b365643.tar.bz2 linux-stable-cd8a3666987ba20908bbeb7c78ed9ba82b365643.zip |
mmc: core: add sd uhs string for mmc_ios_show
This is a minor fix. It makes mmc_ios_show print proper string when the
host's timing is one of the newly added UHS-I modes.
Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/debugfs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 5acd707699c9..96c603b0526f 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -114,6 +114,15 @@ static int mmc_ios_show(struct seq_file *s, void *data) case MMC_TIMING_SD_HS: str = "sd high-speed"; break; + case MMC_TIMING_UHS_SDR50: + str = "sd uhs SDR50"; + break; + case MMC_TIMING_UHS_SDR104: + str = "sd uhs SDR104"; + break; + case MMC_TIMING_UHS_DDR50: + str = "sd uhs DDR50"; + break; default: str = "invalid"; break; |