HID: usbhid: extend polling interval configuration to joysticks
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Sat, 25 Feb 2017 19:27:27 +0000 (20:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Mar 2017 13:25:03 +0000 (14:25 +0100)
commit933bfe4d271ef5931bc7513a1239751ed251db04
tree24eba935f0b52b2f2540de6ef626bae364027a6c
parent81bbef23db51c0b450d90607fbbc2ad80ee0d43f
HID: usbhid: extend polling interval configuration to joysticks

For mouse devices we can currently change the polling interval
via usbhid.mousepoll. Implement the same thing for joysticks, so
users can reduce input latency this way.

This has been tested with a Logitech RumblePad 2 with jspoll=2,
resulting in a polling rate of 500Hz (verified with evhz).

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/admin-guide/kernel-parameters.txt
drivers/hid/usbhid/hid-core.c