Skip to contentSkip to conversation

mmc: core: add sd uhs string for mmc_ios_show

PATCH In review Aaron Lu 2 participants 2 messages Sep 2, 2011 – Sep 21, 2011 MMC, SD and SDIO

lore
Share & tools
lore

Aaron Lu

author
#0 lore raw

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.

---
 drivers/mmc/core/debugfs.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
drivers/mmc/core/debugfs.c +9 -0
index 5acd707..96c603b 100644
@@ -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
#1 lore raw

Hi Aaron,

Quoted 4 lines · Aaron Lu

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.

Thanks, pushed to mmc-next for 3.2.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child