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

Commit 7c001e55 authored by Martin Fuzzey's avatar Martin Fuzzey Committed by Linus Walleij
Browse files

pinctrl: imx: Fix pin name in debug message.



The wrong index counter was being used, causing the debug message
to show an incorrect pin name.

Signed-off-by: default avatarMartin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 885d6626
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ static int imx_pinctrl_parse_groups(struct device_node *np,
			pin->mux_mode |= IOMUXC_CONFIG_SION;
		pin->config = config & ~IMX_PAD_SION;

		dev_dbg(info->dev, "%s: %d 0x%08lx", info->pins[i].name,
		dev_dbg(info->dev, "%s: %d 0x%08lx", info->pins[pin_id].name,
				pin->mux_mode, pin->config);
	}