Commit 900920c0 authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Kleber Sacilotto de Souza

mmc: debugfs: correct wrong voltage value

BugLink: https://bugs.launchpad.net/bugs/1878232

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 avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 7259683f
...@@ -170,7 +170,7 @@ static int mmc_ios_show(struct seq_file *s, void *data) ...@@ -170,7 +170,7 @@ static int mmc_ios_show(struct seq_file *s, void *data)
str = "invalid"; str = "invalid";
break; 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);
switch (ios->drv_type) { switch (ios->drv_type) {
case MMC_SET_DRIVER_TYPE_A: case MMC_SET_DRIVER_TYPE_A:
......
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