summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-picolcd_cir.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2015-05-21 20:44:32 +0300
committerJiri Kosina <jkosina@suse.cz>2015-05-21 22:37:39 +0300
commit05e8fd9202247ac6cdc26f6bafb5453120065490 (patch)
treed197755fcdc245493b5a873c6260fb10e066b949 /drivers/hid/hid-picolcd_cir.c
parentaef3156d7294ac878c10ca8f02539b49adee9624 (diff)
downloadlinux-05e8fd9202247ac6cdc26f6bafb5453120065490.tar.xz
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 <jason.gerecke@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_cir.c')
0 files changed, 0 insertions, 0 deletions