aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorJaehyoung Choi <[email protected]>2021-07-30 22:29:05 +0300
committerKrzysztof Kozlowski <[email protected]>2021-08-02 15:22:18 +0200
commit70115558ab02fe8d28a6634350b3491a542aaa02 (patch)
tree00cca98ed2a82e5229b5236c19218bd350eb8d13 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
pinctrl: samsung: Fix pinctrl bank pin count
Commit 1abd18d1a51a ("pinctrl: samsung: Register pinctrl before GPIO") changes the order of GPIO and pinctrl registration: now pinctrl is registered before GPIO. That means gpio_chip->ngpio is not set when samsung_pinctrl_register() called, and one cannot rely on that value anymore. Use `pin_bank->nr_pins' instead of `pin_bank->gpio_chip.ngpio' to fix mentioned inconsistency. Fixes: 1abd18d1a51a ("pinctrl: samsung: Register pinctrl before GPIO") Signed-off-by: Jaehyoung Choi <[email protected]> Signed-off-by: Sam Protsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions