diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-06-04 07:56:58 +0300 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-06-10 18:48:55 +0300 |
| commit | ec2612b8ad9e642596db011dd8b6568ef1edeaa1 (patch) | |
| tree | bbdaeb604f81855db433c23adc38c0a386bedf94 /include/linux/timerqueue.h | |
| parent | cb605d48dac95b3b1258c2dcdd2d2c3617bee092 (diff) | |
| download | linux-ec2612b8ad9e642596db011dd8b6568ef1edeaa1.tar.xz | |
HID: wacom: stop hardware after post-start probe failures
wacom_parse_and_register() starts HID hardware before registering inputs
and initializing pad LEDs/remotes. Those later steps can fail, but their
error paths currently release Wacom resources without stopping the HID
hardware.
Route post-hid_hw_start() failures through hid_hw_stop() before
releasing driver resources.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
Fixes: c1d6708bf0d3 ("HID: wacom: Do not register input devices until after hid_hw_start")
Cc: stable@vger.kernel.org
Co-developed-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
