Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231793
| From | Shawn Lin <shawn.lin@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25 |
| Date | 2015-09-24 02:20 +0200 |
| Message-ID | <qc2qu-3ps-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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> --- Changes in v2: - replace "mmc uhs sdr12" with "sd uhs sdr12" replace "mmc uhs sdr25" with "sd uhs sdr25" drivers/mmc/core/debugfs.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.3.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25 Shawn Lin <shawn.lin@rock-chips.com> - 2015-09-24 02:20 +0200 Re: [PATCH v2] mmc: debugfs: implement ios show for SDR12 and SDR25 Ulf Hansson <ulf.hansson@linaro.org> - 2015-09-29 12:40 +0200
csiph-web