[PATCH v2] pinctrl: sunxi: dt: do not accumulate npins across probe attempts

Linus Walleij linusw at kernel.org
Mon Oct 12 02:30:38 PDT 2026


On Wed, Oct 7, 2026 at 8:01 AM Pablo Mazzini <pmazzini at gmail.com> wrote:

> init_pins_table() adds to npins in the driver's static descriptor, so
> after a probe deferral the count doubles and the next probe fails with
> "pin 0 already registered". Reset it first.
>
> Signed-off-by: Pablo Mazzini <pmazzini at gmail.com>
> ---
> v2: reset npins instead of counting into a local (Andre)

Patch applied for fixes!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list