HID: multitouch: do not retrieve all reports for all devices
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 25 Nov 2016 13:27:22 +0000 (14:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Nov 2016 13:39:58 +0000 (14:39 +0100)
commitb897f6db3ae2cd9a42377f8b1865450f34ceff0e
tree6189483efd7b5abde6b8316c7303e57cdb8d5782
parent8fe89ef076fa104f514da6ef61d90f5bf93488e3
HID: multitouch: do not retrieve all reports for all devices

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>
drivers/hid/hid-multitouch.c