mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
pinctrl: amd: fix npins for uart0 in kerncz_groups
[ Upstream commit 69339d083dfb7786b0e0b3fc19eaddcf11fabdfb ]
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]>
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
de0d953ee7
commit
f55550d566
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ static const struct amd_pingroup kerncz_groups[] = {
|
|||
{
|
||||
.name = "uart0",
|
||||
.pins = uart0_pins,
|
||||
.npins = 9,
|
||||
.npins = 5,
|
||||
},
|
||||
{
|
||||
.name = "uart1",
|
||||
|
|
|
|||
Loading…
Reference in a new issue