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)
committerJiri Kosina <jkosina@suse.cz>
Mon, 22 Sep 2014 14:54:36 +0000 (16:54 +0200)
commit8ffffd5212846b72f116f7a9572e83d580e25802
tree57a8541176aa8be219445f8eafea7818e1bf1744
parent12969e3bdce5f63fbce2b6d616fdbc8eeb539f01
HID: wacom: fix timeout on probe for some wacoms

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).

Cc: stable@vger.kernel.org # requires cherry-pick of c64d883476
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c