Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 309767db authored by Jacky Hu's avatar Jacky Hu Committed by Greg Kroah-Hartman
Browse files

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: default avatarJacky Hu <hengqing.hu@gmail.com>
Link: https://lore.kernel.org/r/20200616015024.287683-1-hengqing.hu@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 79193f36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ static const struct amd_pingroup kerncz_groups[] = {
	{
		.name = "uart0",
		.pins = uart0_pins,
		.npins = 9,
		.npins = 5,
	},
	{
		.name = "uart1",