linux/drivers/pinctrl/bcm
Artur Weber 5f7f8d9d46 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-28 21:58:48 +01: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-28 21:58:48 +01:00
pinctrl-bcm2835.c pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors 2023-07-19 16:21:34 +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 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
pinctrl-iproc-gpio.c pinctrl: Get rid of duplicate of_node assignment in the drivers 2021-12-16 04:18:30 +01:00
pinctrl-ns.c pinctrl: bcm: ns: Remove redundant dev_err call 2022-10-04 09:24:04 +02:00
pinctrl-ns2-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
pinctrl-nsp-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
pinctrl-nsp-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00