All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: imx: Fix pin name in debug message.
@ 2014-02-20 14:30 Martin Fuzzey
  2014-02-25  8:51 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Fuzzey @ 2014-02-20 14:30 UTC (permalink / raw)
  To: linux-arm-kernel

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

diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c
index 4779b8e..e118fb1 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);
 	}
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] pinctrl: imx: Fix pin name in debug message.
  2014-02-20 14:30 [PATCH] pinctrl: imx: Fix pin name in debug message Martin Fuzzey
@ 2014-02-25  8:51 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-02-25  8:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Feb 20, 2014 at 3:30 PM, Martin Fuzzey <mfuzzey@parkeon.com> wrote:

> 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>

Patch applied, unless the i.MX maintainers have objections.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-25  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 14:30 [PATCH] pinctrl: imx: Fix pin name in debug message Martin Fuzzey
2014-02-25  8:51 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.