]> 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)
commit9aeafd24898dc6e3fd7541d66a19a00c44f7d5eb
tree57a8541176aa8be219445f8eafea7818e1bf1744
parent8908d3628eca64eadc36b6b1a82576461856153f
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 764e7544e2
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c