diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2015-09-24 08:13:43 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-10-26 16:00:02 +0100 |
commit | 85f45058eeef94fdc9f533cca8e17679e44f1177 (patch) | |
tree | 71b8f3c25856a5c2b87ac245f642fe87a1ab9b5c /drivers/mmc | |
parent | c1590dd86d6e34df214f30a501682e392be0ba3c (diff) | |
download | op-kernel-dev-85f45058eeef94fdc9f533cca8e17679e44f1177.zip op-kernel-dev-85f45058eeef94fdc9f533cca8e17679e44f1177.tar.gz |
mmc: debugfs: implement ios show for SDR12 and SDR25
This patch add MMC_TIMING_UHS_SDR12 and MMC_TIMING_UHS_SDR25
for mmc_ios_show to show the ios->timing if mmc card runs under
these two modes.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/debugfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 9adba8d..f4db93e 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -126,6 +126,12 @@ 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_SDR12: + str = "sd uhs SDR12"; + break; + case MMC_TIMING_UHS_SDR25: + str = "sd uhs SDR25"; + break; case MMC_TIMING_UHS_SDR50: str = "sd uhs SDR50"; break; |