projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd35b20
)
pinctrl: gemini: Fix missing pad descriptions
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 13 Nov 2017 21:36:12 +0000
(22:36 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 13 Nov 2017 21:36:12 +0000
(22:36 +0100)
A pretty clever static checker found a bug in my patch: I added more
bits to a bitmask but didn't extend the array indexed to the same
bitmask.
Fixes: 756a024f3983 ("pinctrl: gemini: Fix GMAC groups")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-gemini.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-gemini.c
b/drivers/pinctrl/pinctrl-gemini.c
index ecfc9733db7e583d25f29dd15d0395682a6a1a56..e9b83e291edf43e02e757625ffb4f8d251f6227e 100644
(file)
--- a/
drivers/pinctrl/pinctrl-gemini.c
+++ b/
drivers/pinctrl/pinctrl-gemini.c
@@
-136,6
+136,8
@@
static const char * const gemini_padgroups[] = {
"PCI CLK",
NULL, NULL,
"TVC CLK",
+ NULL, NULL, NULL, NULL, NULL,
+ "GMAC1",
};
static const struct pinctrl_pin_desc gemini_3512_pins[] = {