]> git.ipfire.org Git - people/ms/linux.git/commit
HID: wacom: fix timeout on probe for some wacoms
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 16 Sep 2014 20:56:39 +0000 (16:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:07 +0000 (09:43 -0700)
commit42b0daa78ec43eb2b4e9a80e6dba0c237b1f778f
tree4cb3eb055b1a5e0098fcaa9303878446c9519b0c
parentdfdbe2eb1439432f1740760c9e8e489177d13b0a
HID: wacom: fix timeout on probe for some wacoms

commit 8ffffd5212846b72f116f7a9572e83d580e25802 upstream.

Some Wacom tablets (at least the ISDv4 found in the Lenovo X230) timeout
during probe while retrieving the input reports.
The only time this information is valuable is during the feature_mapping
stage, so we can ask for it there and discard the generic input reports
retrieval.

This gives a code path closer to the wacom.ko driver when it was in the
input subtree (not HID).

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/wacom_sys.c