]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard
authorJiri Kosina <jkosina@suse.cz>
Mon, 2 Jun 2014 08:58:00 +0000 (10:58 +0200)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:01:53 +0000 (19:01 +0100)
commitd9892fefa40e5f6a7e2ec30e3ec288fe9f3f19e7
tree07d028cb3fa3c3be7a84e1451201e16b94af7a42
parent1a7ae6c00f200c810b5c77b7dc1add63143650fd
HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard

commit 9ea63c439c5dffcb7c46c741929fe74b31b9676b upstream.

The device which identifies itself as a "USB Keykoard" (no typo) with VID:PID
1a2c:0023 does not seem to be handling the reports initialization very well.
This results in a "usb_submit_urb(ctrl) failed: -1" message from the kernel
when connected, and a delay before its initialization.  This patch adds the
quirk for this device, which causes the delay to disappear.

[jkosina@suse.cz: remove superfluous comment and fix ordering]
Signed-off-by: Daniel Kamil Kozar <dkk089@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c