mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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: 756a024f39
("pinctrl: gemini: Fix GMAC groups")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
fd35b2023b
commit
eeb690bceb
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user