diff options
| author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-03-31 13:27:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-31 13:20:29 -0700 |
| commit | a2c5ef23686ea5a07095073165c6ccae225ef3ed (patch) | |
| tree | 888b0f2489eea69c5b1209f88ba0736da15fa867 /kernel | |
| parent | 346f2b1eae0cf0d0d34458d26a9f32df46e8641a (diff) | |
HID: core: do not scan constant input report
commit e24d0d399b2fce71b627043e900ef28283850482 upstream.
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.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
