Commit 45c149ca authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Luis Henriques

mmc: debugfs: correct wrong voltage value

commit 0036e746 upstream.

Correct the wrong voltage value shown in debugfs for mmc/sd/sdio.
Signed-off-by: default avatarChuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: default avatarPawel Wodkowski <pawelx.wodkowski@intel.com>
Fixes: 42cd95a0 ("mmc: core: debugfs: Add signal_voltage to ios dump")
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 52822094
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment