Re: [PATCH] pinctrl: amd: fix npins for uart0 in kerncz_groups

From: Linus Walleij
Date: Mon Jun 22 2020 - 03:36:55 EST


On Tue, Jun 16, 2020 at 3:50 AM Jacky Hu <hengqing.hu@xxxxxxxxx> wrote:

> 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 <hengqing.hu@xxxxxxxxx>

Seems like an obvious bug so patch applied for fixes.

Yours,
Linus Walleij