]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
HID: wacom: Don't add ghost interface as shared data
authorAaron Armstrong Skomra <skomra@gmail.com>
Wed, 29 Mar 2017 17:35:39 +0000 (10:35 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:11:29 +0000 (10:11 +0200)
commit81254bfbd53c09b829e9fa1a46a57cb4afb2efaa
tree85db092e9d0ca5565e6d3956b8bdd76a7c2300f8
parent847d67e13df284658633ddfd2eb306fcf8d03d60
HID: wacom: Don't add ghost interface as shared data

BugLink: http://bugs.launchpad.net/bugs/1681875
commit 8b4073596997f2ccbf68d8e72e07b827388a4536 upstream.

A previous commit (below) adds a check for already probed interfaces to
Wacom's matching heuristic. Unfortunately this causes the Bamboo Pen
(CTL-460) to match itself to its 'ghost' touch interface. After
subsequent changes to the driver this match to the ghost causes the
kernel to crash. This patch avoids calling wacom_add_shared_data()
for the BAMBOO_PEN's ghost touch interface.

Fixes: 41372d5d40e7 ("HID: wacom: Augment 'oVid' and 'oPid' with heuristics for HID_GENERIC")
Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/hid/wacom_sys.c