diff mbox

mmc: debugfs: correct wrong voltage value

Message ID 1453109719-53079-1-git-send-email-pawelx.wodkowski@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Pawel Wodkowski Jan. 18, 2016, 9:35 a.m. UTC
From: Chuanxiao Dong <chuanxiao.dong@intel.com>

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>
---
 drivers/mmc/core/debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ulf Hansson Jan. 19, 2016, 9:44 a.m. UTC | #1
On 18 January 2016 at 10:35, Pawel Wodkowski <pawelx.wodkowski@intel.com> wrote:
> From: Chuanxiao Dong <chuanxiao.dong@intel.com>
>
> 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>

Thanks, applied for fixes and by adding the fixes tag below.

Fixes: 42cd95a0603e ("mmc: core: debugfs: Add signal_voltage to ios dump")

Kind regards
Uffe

> ---
>  drivers/mmc/core/debugfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
> index bdfce774d848..6239ec3220a8 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:
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c
index bdfce774d848..6239ec3220a8 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: