From: Benjamin Tissoires Date: Thu, 24 Jul 2014 19:59:11 +0000 (-0700) Subject: Input: wacom - compute the HID report size to get the actual packet size X-Git-Tag: cleanup-for-v3.18~74^2~1^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c846f9539c194c7a6e34af036b1115b8ed822a;p=pandora-kernel.git Input: wacom - compute the HID report size to get the actual packet size This removes an USB dependency and is more accurate: the computed pktlen is the actual maximum size of the reports forwarded by the device. Given that the pktlen is correctly computed/validated, we can store it now in the features struct instead of having a special handling in the rest of the code. Likewise, this information is not mandatory anymore in the description of devices in wacom_wac.c. They will be removed in a separate patch. Signed-off-by: Benjamin Tissoires Reviewed-by: Jason Gerecke Tested-by: Jason Gerecke Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed