summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTzuyi Chang <tychang@realtek.com>2026-03-06 15:52:32 +0800
committerLinus Walleij <linusw@kernel.org>2026-03-10 10:25:19 +0100
commit6a6b238c66dc69cd784baf03b170c50f7e5f24d9 (patch)
treea86969cb38656007be6b278af9094bd99bdb8d5a /tools/perf/scripts/python/stackcollapse.py
parenta248904e3030926ddba1d7cd32db742a368242bc (diff)
pinctrl: realtek: Fix return value and silence log for unsupported configs
Treating unsupported configurations as errors causes upper layers (like the GPIO subsystem) to interpret optional features as hard failures, aborting operations or printing unnecessary error logs. For example, during gpiod_get(), the GPIO framework attempts to set PIN_CONFIG_PERSIST_STATE. Since this driver does not support it, false error reports are generated in dmesg. Fix this by returning -ENOTSUPP and demoting the log level to dev_dbg. Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Tzuyi Chang <tychang@realtek.com> Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions