mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 08:42:47 +00:00
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>
This commit is contained in:
parent
714c4a6e3a
commit
cd8a366698
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user