diff options
author | Hanna Hawa <[email protected]> | 2021-03-19 17:21:33 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-03-25 09:06:31 +0100 |
commit | bd85125ea88513f637a62a72e8949c579c5c0a87 (patch) | |
tree | 100bbc0e19ed48420e2c5f714c4640675f342b1a /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 8fa2ea202b13b6da81e26c399ff1d87488398453 (diff) |
pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
A System Error (SError, followed by kernel panic) was detected when
trying to print the supported pins in a pinctrl device which supports
multiple pins per register. This change fixes the pcs_pin_dbg_show() in
pinctrl-single driver when bits_per_mux is not zero. In addition move
offset calculation and pin offset in register to common function.
Fixes: 4e7e8017a80e ("pinctrl: pinctrl-single: enhance to configure multiple pins of different modules")
Signed-off-by: Hanna Hawa <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Tony Lindgren <[email protected]>
Reviewed-by: Drew Fustini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions