projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885d662
)
pinctrl: imx: Fix pin name in debug message.
author
Martin Fuzzey
<mfuzzey@parkeon.com>
Thu, 20 Feb 2014 14:30:12 +0000
(15:30 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 25 Feb 2014 09:49:14 +0000
(10:49 +0100)
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>
drivers/pinctrl/pinctrl-imx.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-imx.c
b/drivers/pinctrl/pinctrl-imx.c
index 4779b8e0eee8f1cb90037e78fff60a7f53e9a1ad..e118fb121e024772cbad4cd4b73f32210ad0179c 100644
(file)
--- 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);
}