From: Chuanxiao Dong Date: Mon, 18 Jan 2016 09:35:19 +0000 (+0100) Subject: mmc: debugfs: correct wrong voltage value X-Git-Tag: v3.16.35~517 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45c149ca6cd12e0754fc2e2fecfa25788ee8449f;p=thirdparty%2Fkernel%2Fstable.git mmc: debugfs: correct wrong voltage value commit 0036e74686344f1051afc3107740140abfd03616 upstream. Correct the wrong voltage value shown in debugfs for mmc/sd/sdio. Signed-off-by: Chuanxiao Dong Signed-off-by: Pawel Wodkowski Fixes: 42cd95a0603e ("mmc: core: debugfs: Add signal_voltage to ios dump") Signed-off-by: Ulf Hansson Signed-off-by: Luis Henriques --- diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 91eb162232462..c63d39ff4d1d2 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -164,7 +164,7 @@ static int mmc_ios_show(struct seq_file *s, void *data) str = "invalid"; break; } - seq_printf(s, "signal voltage:\t%u (%s)\n", ios->chip_select, str); + seq_printf(s, "signal voltage:\t%u (%s)\n", ios->signal_voltage, str); return 0; }