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 11:28:37 +0000 (12:28 +0100)
commit3c431e19ad708475a6fad071934a7bb786d24319
tree83bf90a93577dd7785ccc30073312677a6605eaf
parenta65ac9d23276f46ba97f88d9d82148e7a239d94c
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