diff options
| author | 2026-06-24 22:35:58 +0800 | |
|---|---|---|
| committer | 2026-08-03 19:37:52 +0200 | |
| commit | 336af689d58f245d9e12c2ddec1531e455080c68 (patch) | |
| tree | e169a3dae63e70543f581c3fa361153461e456d9 /tools/lib/python/kdoc/python_version.py | |
| parent | Merge tag 'hid-for-linus-2026070801' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
HID: amd_sfh: return an error when response wait times out
amdtp_wait_for_response() waits for request_done before completing a
report request. wait_event_interruptible_timeout() returns 0 when the
wait expires, but the current code treats only negative values as errors
and returns success on timeout.
Return -ETIMEDOUT when the response wait expires while preserving the
existing success path when the response has already been observed.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Acked-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
