From: Brent Adam Date: Fri, 19 Jun 2015 16:53:35 +0000 (-0600) Subject: HID: multitouch: Fix fields from pen report ID being interpreted for multitouch X-Git-Tag: omap-for-v4.3/fixes-merge-window~199^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc1cc92c4c4891abc48a777fb9fbc69077d5673;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed