diff options
author | Artur Weber <aweber.kernel@gmail.com> | 2025-02-07 23:02:41 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-02-25 19:21:50 +0300 |
commit | 68283c1cb573143c0b7515e93206f3503616bc10 (patch) | |
tree | 25e4b06f8e60dcff960bf984475faf9a50c187fa /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | d082ecbc71e9e0bf49883ee4afd435a77a5101b6 (diff) | |
download | linux-68283c1cb573143c0b7515e93206f3503616bc10.tar.xz |
pinctrl: bcm281xx: Fix incorrect regmap max_registers value
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@gmail.com>
Link: https://lore.kernel.org/20250207-bcm21664-pinctrl-v1-2-e7cfac9b2d3b@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions