OSDN Git Service

HID: holtek: fix mouse probing
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Dec 2021 09:51:20 +0000 (10:51 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 20 Dec 2021 10:25:42 +0000 (11:25 +0100)
commit93a2207c254ca102ebbdae47b00f19bbfbfa7ecd
treea9c61787126d673276faebd70a7c284f35139175
parent14902f8961dca9c66bf190f7b1583767c97a4197
HID: holtek: fix mouse probing

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>
drivers/hid/hid-holtek-mouse.c