diff options
| author | Derek J. Clark <derekjohn.clark@gmail.com> | 2026-09-14 15:52:54 -0700 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-10-16 12:02:06 +0200 |
| commit | 8ac42b2885322dc7fb03d88c5411e9dbd24f80d9 (patch) | |
| tree | f794513d182fb0185fbc976a0590566c66a3a1bf /tools/perf/scripts/python/stackcollapse.py | |
| parent | 79aff9af185a96664218c2bad407046dccb4cf0a (diff) | |
HID: hid-lenovo-go-s: Return ret instead of 0 in mcu_property_out()
Currently mcu_property_out() blanket returns 0, discarding the ret
value and any errors with it. Wait completion returns a positive value
when it is not timed out, which would error on all successes, so if it
is positive return the ret value from the raw event handler. Only if
it is 0 set it to -EBUSY, otherwise pass the actual error.
Fixes: a23f3497bf208c59ad ("HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver")
Cc: stable@vger.kernel.org
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
