diff options
| author | Simon Glass <sjg@chromium.org> | 2026-07-29 07:27:25 -0600 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-08-10 22:06:01 +0200 |
| commit | 8aa25c6e8893ed911b0cad37a5562fda9bc98438 (patch) | |
| tree | d83ff72ac65616b601fb52407f9c96c28697c356 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 465f276bb928093685c2a2b98bf0a7ccc4283b8d (diff) | |
pinctrl: rockchip: Decode drive strength in the get function
The decoding of the 2-bit and 8-bit level drive-strength values sits in
rockchip_set_drive_perpin(), where it is unreachable: the SoCs whose
banks declare these drive types (RK3506 and RV1103B) take the early
ctrl->type branch in the set path, and the read-and-decode logic in a
set function has no purpose. Meanwhile rockchip_get_drive_perpin()
lacks the decoding, so pin_config_get() and the debugfs output report
-EINVAL for these SoCs.
Move the two cases to rockchip_get_drive_perpin(), where they belong.
Fixes: dbd2317d7b9f ("pinctrl: rockchip: Add rk3506 pinctrl support")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
