linux/drivers/pinctrl/bcm
Artur Weber 319900a108 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:54:09 -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: bcm63xx: Use scope based of_node_put() cleanups 2024-06-26 11:59:00 +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:54:09 -07:00
pinctrl-bcm2835.c pinctrl: bcm2835: fix module autoloading 2024-08-24 16:46:33 +02:00
pinctrl-bcm4908.c pinctrl: add missing MODULE_DESCRIPTION() macros 2024-06-17 10:59:31 +02: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 treewide: rename pinctrl_gpio_free_new() 2023-11-04 10:23:21 +01:00
pinctrl-ns.c pinctrl: bcm: Convert to use grp member 2023-12-12 00:47:52 +01: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