]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: holtek: fix mouse probing
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Dec 2021 09:51:20 +0000 (10:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 10:50:29 +0000 (11:50 +0100)
commit8684d7eaf3354153139efc417504ccf70ef8698c
tree66a586954eea56e3a1bd1d679e9a1abcd88d60dc
parentf48b93b3c8cae1effa78580e963407665d3c74a8
HID: holtek: fix mouse probing

commit 93a2207c254ca102ebbdae47b00f19bbfbfa7ecd upstream.

An overlook from the previous commit: we don't even parse or start the
device, meaning that the device is not presented to user space.

Fixes: 93020953d0fa ("HID: check for valid USB device for many HID drivers")
Cc: stable@vger.kernel.org
Link: https://bugs.archlinux.org/task/73048
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215341
Link: https://lore.kernel.org/r/e4efbf13-bd8d-0370-629b-6c80c0044b15@leemhuis.info/
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-holtek-mouse.c