HID: multitouch: do not retrieve all reports for all devices
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 4 Apr 2017 19:32:07 +0000 (19:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Apr 2017 10:41:16 +0000 (12:41 +0200)
commitc6e3c6628dfbb9950f829e3f2803476f486abf17
tree940c210f3a806b35484289af80dcb5a89464536d
parent68a83be3813507da97024decc4a48d347524bfd6
HID: multitouch: do not retrieve all reports for all devices

[ Upstream commit b897f6db3ae2cd9a42377f8b1865450f34ceff0e ]

We already have in place a quirk for Windows 8 devices, but it looks
like the Surface Cover are not conforming to it.
Given that we are only interested in 3 feature reports (the ones that
the Windows driver retrieves), we should be safe to unconditionally apply
the quirk to everybody.

In case there is an issue with a controller, we can always mark it as such
in the transport driver, and hid-multitouch won't try to retrieve the
feature report.

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