All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: core: add sd uhs string for mmc_ios_show
@ 2011-09-02  8:06 Aaron Lu
  2011-09-21 18:46 ` Chris Ball
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lu @ 2011-09-02  8:06 UTC (permalink / raw)
  To: cjb; +Cc: linux-mmc, arindam.nath, 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.

Signed-off-by: Aaron Lu <aaron.lu@amd.com>
---
 drivers/mmc/core/debugfs.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 5acd707..96c603b 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -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;
-- 
1.7.4.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: core: add sd uhs string for mmc_ios_show
  2011-09-02  8:06 [PATCH] mmc: core: add sd uhs string for mmc_ios_show Aaron Lu
@ 2011-09-21 18:46 ` Chris Ball
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-09-21 18:46 UTC (permalink / raw)
  To: Aaron Lu; +Cc: linux-mmc, arindam.nath

Hi Aaron,

On Fri, Sep 02 2011, Aaron Lu wrote:
> 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>

Thanks, pushed to mmc-next for 3.2.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-21 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-02  8:06 [PATCH] mmc: core: add sd uhs string for mmc_ios_show Aaron Lu
2011-09-21 18:46 ` Chris Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.