Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1407338

[PATCH v6 4/5] mmc: debugfs: add HS400 enhanced strobe description

From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v6 4/5] mmc: debugfs: add HS400 enhanced strobe description
Date 2016-05-26 04:00 +0200
Message-ID <rCSKC-8n2-9@gated-at.bofh.it> (permalink)
References <rCSKC-8n2-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


We introduce HS400 with enhanced strobe function, so we need
to add it for debug show.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
---

Changes in v6:
- add Doug's review-test-tag and Jaehoon's test-tag
- a minor string assignment

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/mmc/core/debugfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 9382a57..c8451ce 100644
--- a/drivers/mmc/core/debugfs.c
+++ b/drivers/mmc/core/debugfs.c
@@ -148,7 +148,8 @@ static int mmc_ios_show(struct seq_file *s, void *data)
 		str = "mmc HS200";
 		break;
 	case MMC_TIMING_MMC_HS400:
-		str = "mmc HS400";
+		str = mmc_card_hs400es(host->card) ?
+			"mmc HS400 enhanced strobe" : "mmc HS400";
 		break;
 	default:
 		str = "invalid";
-- 
2.3.7

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v6 4/5] mmc: debugfs: add HS400 enhanced strobe description Shawn Lin <shawn.lin@rock-chips.com> - 2016-05-26 04:00 +0200

csiph-web