diff options
| author | 2015-06-19 10:53:35 -0600 | |
|---|---|---|
| committer | 2015-07-08 11:30:00 +0200 | |
| commit | 1cc1cc92c4c4891abc48a777fb9fbc69077d5673 (patch) | |
| tree | 2cf93a0390dbb12e2d76eabf1a38f85dd2a37a29 /lib/jedec_ddr_data.c | |
| parent | HID: microsoft: Add quirk for MS Surface Type/Touch cover (diff) | |
| download | wireguard-linux-1cc1cc92c4c4891abc48a777fb9fbc69077d5673.tar.xz wireguard-linux-1cc1cc92c4c4891abc48a777fb9fbc69077d5673.zip | |
HID: multitouch: Fix fields from pen report ID being interpreted for multitouch
Fields like HID_DG_CONTACTCOUNT are outside of the physical collection,
but within the application collection and report ID. Make sure to catch
those fields that are not part of the mt_report_id and return 0 so they
can be processed with the pen. Otherwise, the wrong HID_DG_CONTACTCOUNT
will be applied to cc_index and result in dereferencing a null pointer in
mt_touch_report.
Signed-off-by: Brent Adam <brentadam@smarttech.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions
