Skip to content

Commit 85f4505

Browse files
shawn1221storulf
authored andcommitted
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>
1 parent c1590dd commit 85f4505

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/mmc/core/debugfs.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ static int mmc_ios_show(struct seq_file *s, void *data)
126126
case MMC_TIMING_SD_HS:
127127
str = "sd high-speed";
128128
break;
129+
case MMC_TIMING_UHS_SDR12:
130+
str = "sd uhs SDR12";
131+
break;
132+
case MMC_TIMING_UHS_SDR25:
133+
str = "sd uhs SDR25";
134+
break;
129135
case MMC_TIMING_UHS_SDR50:
130136
str = "sd uhs SDR50";
131137
break;

0 commit comments

Comments
 (0)