]> git.karo-electronics.de Git - linux-beck.git/commit
HID: usbhid: add always-poll quirk
authorJohan Hovold <johan@kernel.org>
Fri, 5 Sep 2014 16:08:47 +0000 (18:08 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 8 Sep 2014 07:29:15 +0000 (09:29 +0200)
commit0b750b3baa2d64f1b77aecc10f20deeb28efe60d
tree1d60afffd83b736b23f9ca6fcec482bcd89c13fe
parentff0c57ac70434bc936cb0110eaf033a0a1a62e52
HID: usbhid: add always-poll quirk

Add quirk to make sure that a device is always polled for input events
even if it hasn't been opened.

This is needed for devices that disconnects from the bus unless the
interrupt endpoint has been polled at least once or when not responding
to an input event (e.g. after having shut down X).

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
include/linux/hid.h