summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-imx.c
diff options
context:
space:
mode:
authorMartin Fuzzey <mfuzzey@parkeon.com>2014-02-20 18:30:12 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-02-25 13:49:14 +0400
commit7c001e556e743afa4b58bc39f7ae444c6af58619 (patch)
tree867b7b558a0cfe4c9a945a2c984c1312932c5ab4 /drivers/pinctrl/pinctrl-imx.c
parent885d662618b7a33faa8d78b0d40816424d12d580 (diff)
downloadlinux-7c001e556e743afa4b58bc39f7ae444c6af58619.tar.xz
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: Martin Fuzzey <mfuzzey@parkeon.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx.c')
-rw-r--r--drivers/pinctrl/pinctrl-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
index 4779b8e0eee8..e118fb121e02 100644
--- a/drivers/pinctrl/pinctrl-imx.c
+++ b/drivers/pinctrl/pinctrl-imx.c
@@ -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);
}