summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorDoug Berger <opendmb@gmail.com>2026-01-27 13:46:54 -0800
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-01-28 10:14:50 +0100
commitb2cf569ed81e7574d4287eaf3b2c38690a934d34 (patch)
treed20b8ac6274db73e8fd650259e06b64ee2402c6e /tools/lib/python/kdoc/parse_data_structs.py
parent730e5ebff40c852e3ea57b71bf02a4b89c69435f (diff)
gpio: brcmstb: correct hwirq to bank map
The brcmstb_gpio_hwirq_to_bank() function was designed to accommodate the downward numbering of dynamic GPIOs by traversing the bank list in the reverse order. However, the dynamic numbering has changed to increment upward which can produce an incorrect mapping. The function is modified to no longer assume an ordering of the list to accommodate either option. Fixes: 7b61212f2a07 ("gpiolib: Get rid of ARCH_NR_GPIOS") Signed-off-by: Doug Berger <opendmb@gmail.com> Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260127214656.447333-2-florian.fainelli@broadcom.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions