]> git.baikalelectronics.ru Git - kernel.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)
committerJiri Kosina <jkosina@suse.cz>
Mon, 22 Sep 2014 14:54:36 +0000 (16:54 +0200)
commit26e2773afd76cd5d9d31eb73eb7461b650b30571
tree57a8541176aa8be219445f8eafea7818e1bf1744
parent8e667a1ab7a28685a90b20e90f30cc6ae8720e09
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 57a0dce524
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c