Skip to content

Commit 69339d0

Browse files
postgraphlinusw
authored andcommitted
pinctrl: amd: fix npins for uart0 in kerncz_groups
uart0_pins is defined as: static const unsigned uart0_pins[] = {135, 136, 137, 138, 139}; which npins is wronly specified as 9 later { .name = "uart0", .pins = uart0_pins, .npins = 9, }, npins should be 5 instead of 9 according to the definition. Signed-off-by: Jacky Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 4877846 commit 69339d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinctrl-amd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static const struct amd_pingroup kerncz_groups[] = {
252252
{
253253
.name = "uart0",
254254
.pins = uart0_pins,
255-
.npins = 9,
255+
.npins = 5,
256256
},
257257
{
258258
.name = "uart1",

0 commit comments

Comments
 (0)