mmc: debugfs: add HS400 enhanced strobe description
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 26 May 2016 01:56:30 +0000 (09:56 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:06 +0000 (10:34 +0200)
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>
drivers/mmc/core/debugfs.c

index 9382a57..c8451ce 100644 (file)
@@ -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";