Re: [PATCH] HID: wacom: Don't add ghost interface as shared data

From: Jiri Kosina
Date: Thu Mar 30 2017 - 05:31:32 EST


On Wed, 29 Mar 2017, Aaron Armstrong Skomra wrote:

> 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")
> Cc: stable <stable@xxxxxxxxxxxxxxx> # 4.9
> Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@xxxxxxxxx>

Applied to for-4.11/upstream-fixes.

--
Jiri Kosina
SUSE Labs