summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/debugfs.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-05-26 04:56:30 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-07-25 11:34:06 +0300
commitbc26235bbd7937a65f5beba046725911c759eca9 (patch)
tree3e2a94c0d3855a46ec0f4ce8bfc7302648e17457 /drivers/mmc/core/debugfs.c
parent81ac2af65793ecfbd79875d45043ff4adc0982b8 (diff)
downloadlinux-bc26235bbd7937a65f5beba046725911c759eca9.tar.xz
mmc: debugfs: add HS400 enhanced strobe description
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> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/debugfs.c')
-rw-r--r--drivers/mmc/core/debugfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 9382a57a5aa4..c8451ce557ae 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";