]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hid/wacom_sys.c
HID: wacom: Augment 'oVid' and 'oPid' with heuristics for HID_GENERIC
authorJason Gerecke <killertofu@gmail.com>
Mon, 8 Aug 2016 19:06:30 +0000 (12:06 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Aug 2016 09:44:28 +0000 (11:44 +0200)
commit41372d5d40e73ef4d8574e53a39c7faabff20260
treee3eeba450c0b8dbff84d48aa195f7029af106b68
parente5bc8eb1b02244be4e97e9654d394275e615923a
HID: wacom: Augment 'oVid' and 'oPid' with heuristics for HID_GENERIC

The 'oVid' and 'oPid' variables used by wacom_are_sibling are a hacky
solution to the problem of the driver historically having few good
heuristics to use in determining if two devices should be considered
siblings or not. While it works well enough for explicitly supported
devices, it offers no help for HID_GENERIC devices. Now that we have
a bit more information (e.g. direct/indirect) available to us though,
we should make use of it it to improve the pairing of such devices.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c