Commit eeb690bc authored by Linus Walleij's avatar Linus Walleij

pinctrl: gemini: Fix missing pad descriptions

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: 756a024f ("pinctrl: gemini: Fix GMAC groups")
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent fd35b202
...@@ -136,6 +136,8 @@ static const char * const gemini_padgroups[] = { ...@@ -136,6 +136,8 @@ static const char * const gemini_padgroups[] = {
"PCI CLK", "PCI CLK",
NULL, NULL, NULL, NULL,
"TVC CLK", "TVC CLK",
NULL, NULL, NULL, NULL, NULL,
"GMAC1",
}; };
static const struct pinctrl_pin_desc gemini_3512_pins[] = { static const struct pinctrl_pin_desc gemini_3512_pins[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment