linux/drivers/pinctrl/bcm
Artur Weber 21e65f1fef pinctrl: bcm281xx: Fix incorrect regmap max_registers value
[ Upstream commit 68283c1cb5 ]

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: 54b1aa5a5b ("ARM: pinctrl: Add Broadcom Capri pinctrl driver")
Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/20250207-bcm21664-pinctrl-v1-2-e7cfac9b2d3b@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-03-22 12:50:37 -07:00
..
Kconfig arm64: bcmbca: Make BCM4908 drivers depend on ARCH_BCMBCA 2022-08-15 09:55:34 -07:00
Makefile pinctrl: bcm: add driver for BCM4908 pinmux 2022-01-25 01:42:13 +01:00
pinctrl-bcm63xx.c pinctrl: bcm: add bcm63xx base code 2021-03-29 12:20:07 +02:00
pinctrl-bcm63xx.h pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-bcm281xx.c pinctrl: bcm281xx: Fix incorrect regmap max_registers value 2025-03-22 12:50:37 -07:00
pinctrl-bcm2835.c pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors 2023-05-08 15:42:24 +02:00
pinctrl-bcm4908.c pinctrl: bcm: add driver for BCM4908 pinmux 2022-01-25 01:42:13 +01:00
pinctrl-bcm6318.c pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-bcm6328.c pinctrl: bcm: Remove unused struct bcm6328_pingroup 2022-10-04 09:39:22 +02:00
pinctrl-bcm6358.c pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-bcm6362.c pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-bcm6368.c pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-bcm63268.c pinctrl: bcm: Convert drivers to use struct pingroup and PINCTRL_PINGROUP() 2022-08-25 13:57:00 +02:00
pinctrl-cygnus-mux.c pinctrl: bcm: Add missing header(s) 2022-10-24 12:53:33 +03:00
pinctrl-iproc-gpio.c pinctrl: iproc-gpio: Silence probe deferral messages 2023-08-10 10:41:20 +02:00
pinctrl-ns.c pinctrl: Use device_get_match_data() 2024-10-04 16:29:27 +02:00
pinctrl-ns2-mux.c pinctrl: bcm: Add missing header(s) 2022-10-24 12:53:33 +03:00
pinctrl-nsp-gpio.c pinctrl: nsp-gpio: Silence probe deferral messages 2023-08-10 10:41:20 +02:00
pinctrl-nsp-mux.c pinctrl: bcm: Add missing header(s) 2022-10-24 12:53:33 +03:00