summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorChuanxiao Dong <chuanxiao.dong@intel.com>2016-01-18 10:35:19 +0100
committerLuis Henriques <luis.henriques@canonical.com>2016-02-03 00:04:01 +0000
commit45c149ca6cd12e0754fc2e2fecfa25788ee8449f (patch)
tree5550a55457424c5d800b9a108d0172b86197c674 /drivers/mmc
parent52822094adbf20283e9d9fb382dab46755e3e1ae (diff)
downloadlinux-stable-45c149ca6cd12e0754fc2e2fecfa25788ee8449f.tar.gz
linux-stable-45c149ca6cd12e0754fc2e2fecfa25788ee8449f.tar.bz2
linux-stable-45c149ca6cd12e0754fc2e2fecfa25788ee8449f.zip
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 <chuanxiao.dong@intel.com> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Fixes: 42cd95a0603e ("mmc: core: debugfs: Add signal_voltage to ios dump") Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index 91eb16223246..c63d39ff4d1d 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;
}