From: Shawn Lin Date: Thu, 26 May 2016 01:56:30 +0000 (+0800) Subject: mmc: debugfs: add HS400 enhanced strobe description X-Git-Tag: v4.8-rc1~81^2~126 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=bc26235bbd7937a65f5beba046725911c759eca9;p=linux.git 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 Reviewed-by: Douglas Anderson Tested-by: Douglas Anderson Tested-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- 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";