[PATCH 2/7] pinctrl: bcm281xx: Fix incorrect regmap max_registers value

Linus Walleij linus.walleij at linaro.org
Fri Feb 14 01:03:08 PST 2025


On Fri, Feb 7, 2025 at 9:02 PM Artur Weber <aweber.kernel at gmail.com> wrote:

> The max_registers value does not take into consideration the stride;
> currently, it's set to the number of the last pin, but this does not
> accurately represent the final register.
>
> Fix this by multiplying the current value by 4.
>
> Fixes: 54b1aa5a5b16 ("ARM: pinctrl: Add Broadcom Capri pinctrl driver")
> Signed-off-by: Artur Weber <aweber.kernel at gmail.com>

This looks like it could be causing regressions so I pulled this patch out
and applied it for fixes.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list