Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53ded819 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Linus Walleij
Browse files

pinctrl: Print the correct information in debugfs pinconf-state file



A bad copy&paste resulted in the debugfs pinconf-state file printing the
pin name instead of the state name. Fix it.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6a40cdd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ static const struct file_operations pinconf_dbg_pinname_fops = {
static int pinconf_dbg_state_print(struct seq_file *s, void *d)
{
	if (strlen(dbg_state_name))
		seq_printf(s, "%s\n", dbg_pinname);
		seq_printf(s, "%s\n", dbg_state_name);
	else
		seq_printf(s, "No pin state set\n");
	return 0;