]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Use calculated pkglen for wireless touch interface
authorJason Gerecke <killertofu@gmail.com>
Mon, 3 Aug 2015 17:17:03 +0000 (10:17 -0700)
committerJiri Kosina <jkosina@suse.com>
Tue, 4 Aug 2015 13:39:20 +0000 (15:39 +0200)
commitcefc5710d9e1de4d8075c67cf0584c9c56bdedbf
treee17cb7794bd135318a2c2c04881114a783049d51
parentf3e8d022efc0155d9bf4678ca1dd961930d857b6
HID: wacom: Use calculated pkglen for wireless touch interface

Commit 9fca14e introduced the 'wacom_compute_pktlen' function which
automatically determines the correct value for an interface's pkglen
by scanning the HID descriptor. This function returns the correct
value for the wireless receiver's touch interface, removing the need
for us to set it manually here.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/wacom_sys.c