diff options
author | Chen-Yu Tsai <[email protected]> | 2024-03-27 17:13:33 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2024-04-04 15:27:18 +0200 |
commit | 08f66a8edd08f6f7cfa769c81634b29a2b123908 (patch) | |
tree | 3974ebd859e1231fb6a1a33a876b0e0367ea4b69 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5038a66dad0199de60e5671603ea6623eb9e5c79 (diff) |
pinctrl: mediatek: paris: Fix PIN_CONFIG_INPUT_SCHMITT_ENABLE readback
In the generic pin config library, readback of some options are handled
differently compared to the setting of those options: the argument value
is used to convey enable/disable of an option in the set path, but
success or -EINVAL is used to convey if an option is enabled or disabled
in the debugfs readback path.
PIN_CONFIG_INPUT_SCHMITT_ENABLE is one such option. Fix the readback of
the option in the mediatek-paris library, so that the debugfs dump is
not showing "input schmitt enabled" for pins that don't have it enabled.
Fixes: 1bea6afbc842 ("pinctrl: mediatek: Refine mtk_pinconf_get()")
Signed-off-by: Chen-Yu Tsai <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions