From: Chuanxiao Dong Date: Mon, 18 Jan 2016 09:35:19 +0000 (+0100) Subject: mmc: debugfs: correct wrong voltage value X-Git-Tag: v4.14-rc1~3937^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0036e74686344f1051afc3107740140abfd03616;p=platform%2Fkernel%2Flinux-rpi.git mmc: debugfs: correct wrong voltage value 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 --- diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index 154aced..65cc0ac 100644 --- a/drivers/mmc/core/debugfs.c +++ b/drivers/mmc/core/debugfs.c @@ -170,7 +170,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); switch (ios->drv_type) { case MMC_SET_DRIVER_TYPE_A: