mmc: core: add sd uhs string for mmc_ios_show
PATCH 1/1 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 <[email protected]>
--- drivers/mmc/core/debugfs.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
drivers/mmc/core/debugfs.c +9 -0
@@ -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 ;
Signature · 1 line
1.7.4.4
Hi Aaron,
Quoted 4 lines · Aaron Lu
This is a minor fix. It makes
mmc_ios_showprint proper string when the host's timing is one of the newly added UHS-I modes.Signed-off-by Aaron Lu <[email protected]>
Thanks, pushed to mmc-next for 3.2.
- Chris.
Signature · 2 lines
Chris Ball <[email protected]> <http://printf.net/> One Laptop Per Child