summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArtur Weber <aweber.kernel@gmail.com>2025-02-06 20:46:00 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-02-11 11:46:59 +0300
commitde1d0d160f64ee76df1d364d521b2faf465a091c (patch)
treea0ea4091a16a212301102cd5ccb5500477320441 /tools/perf/scripts/python/export-to-sqlite.py
parenta64dcfb451e254085a7daee5fe51bf22959d52d3 (diff)
downloadlinux-de1d0d160f64ee76df1d364d521b2faf465a091c.tar.xz
gpio: bcm-kona: Fix GPIO lock/unlock for banks above bank 0
The GPIO lock/unlock functions clear/write a bit to the relevant register for each bank. However, due to an oversight the bit that was being written was based on the total GPIO number, not the index of the GPIO within the relevant bank, causing it to fail for any GPIO above 32 (thus any GPIO for banks above bank 0). Fix lock/unlock for these banks by using the correct bit. Fixes: bdb93c03c550 ("gpio: bcm281xx: Centralize register locking") Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Markus Mayer <mmayer@broadcom.com> Signed-off-by: Artur Weber <aweber.kernel@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250206-kona-gpio-fixes-v2-1-409135eab780@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions