From: Jason Gerecke Date: Thu, 21 May 2015 17:44:32 +0000 (-0700) Subject: HID: wacom: Handle failing HID_DG_CONTACTMAX requests X-Git-Tag: omap-for-v4.3/legacy-v2-signed~186^2^9~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05e8fd9202247ac6cdc26f6bafb5453120065490;p=pandora-kernel.git HID: wacom: Handle failing HID_DG_CONTACTMAX requests Hardware may not respond to a request for the HID_DG_CONTACTMAX feature and we should be tolerant of such a failure. This is especially true when using hid-replay where the hardware doesn't exist, but also for devices attached to a flaky bus. This patch increases the number of allowable retries to match other calls to 'wacom_get_report' and also provides a fallback which forces 'touch_max = 16' (enough for any Wacom device seen so far). Signed-off-by: Jason Gerecke Reviewed-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed