]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf13f99df7d61568856ed056c677734b42234de00
treee3eeba450c0b8dbff84d48aa195f7029af106b68
parentbc3c63bae878a26f333dfdf09d0037a817557f82
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