aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid/hid-core.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2015-08-05 15:45:30 -0700
committerJiri Kosina <jkosina@suse.cz>2015-08-10 14:23:37 +0200
commita1c173dac102d7d91e5cafdb8cb212300063eaa3 (patch)
tree679427967f86c66fbb0515284e942b3acb16af2e /drivers/hid/usbhid/hid-core.c
parentHID: core: do not reject devices when they declare too many usages (diff)
downloadlinux-dev-a1c173dac102d7d91e5cafdb8cb212300063eaa3.tar.xz
linux-dev-a1c173dac102d7d91e5cafdb8cb212300063eaa3.zip
HID: wacom: Do not repeatedly attempt to set device mode on error
As an extension of aef3156d7, there is no sense in repeatedly calling the 'wacom_set_report' and 'wacom_get_report' functions if they return an error. Getting an error from them implies that the device is out to lunch: either a hard error code was returned or repeated attempts at recovering from a "soft" error all failed. In either case, doing even more retries is not likely to resolve whatever is wrong. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/hid-core.c')
0 files changed, 0 insertions, 0 deletions