diff options
author | 2015-08-05 15:45:30 -0700 | |
---|---|---|
committer | 2015-08-10 10:47:10 +0200 | |
commit | 64d0ed94f5dfde5efac15941128f60edf7f15c17 (patch) | |
tree | 37748961c94abf31da1f6e6d0ce7bf681afc7bd7 /net/unix/af_unix.c | |
parent | HID: wacom: Remove WACOM_QUIRK_NO_INPUT (diff) | |
download | wireguard-linux-64d0ed94f5dfde5efac15941128f60edf7f15c17.tar.xz wireguard-linux-64d0ed94f5dfde5efac15941128f60edf7f15c17.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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions