HID: multitouch: require Finger field to mark Win8 reports as MT
stable inclusion from stable-5.10.43 commit 127f25be2ff0fb3706adf4cf91a0e18c43b59885 bugzilla: 109284 CVE: NA -------------------------------- commit a2353e3b upstream. This effectively changes collection_is_mt from contact ID in report->field to (device is Win8 => collection is finger) && contact ID in report->field Some devices erroneously report Pen for fingers, and Win8 stylus-on-touchscreen devices report contact ID, but mark the accompanying touchscreen device's collection correctly Cc: stable@vger.kernel.org Signed-off-by: NAhelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录