diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-03-31 19:27:10 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-04-07 09:55:25 +0200 |
commit | e24d0d399b2fce71b627043e900ef28283850482 (patch) | |
tree | 94ffabba4678d9e9bdcd77564043735a7fd96edb /drivers/hid/hid-multitouch.c | |
parent | Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2" (diff) | |
download | linux-e24d0d399b2fce71b627043e900ef28283850482.tar.xz linux-e24d0d399b2fce71b627043e900ef28283850482.zip |
HID: core: do not scan constant input report
The Microsoft Surface Type/Touch Cover 2 is a fancy device which advertised
itself as a multitouch device but with constant input reports.
This way, hid_scan_report() gives the group MULTITOUCH to it, but
hid-multitouch can not handle it due to the constant collection ignored
by hid-input.
To prevent such crap in the future, and while we do not fix this particular
device, make the scan_report coherent with hid-input.c, and ignore constant
input reports.
CC: stable@vger.kernel.org # 3.12+
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
0 files changed, 0 insertions, 0 deletions