]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: wacom: Fix ABS_MISC reporting for Cintiq Companion 2
authorJason Gerecke <killertofu@gmail.com>
Mon, 2 Nov 2015 23:41:13 +0000 (15:41 -0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 Nov 2015 13:36:23 +0000 (14:36 +0100)
commit8253d42be8ae8c81cabcf678448c09a69d4f3b8c
treeec4ff5712b56cee29d37ea5398c9d10ab1d63458
parent6212aae0d4de273e8dbc9f889d0c7ef8317284df
HID: wacom: Fix ABS_MISC reporting for Cintiq Companion 2

The pad handling code introduced for the Cintiq Companion 2 (f7acb55)
looks at the wrong bytes in the report when deciding whether ABS_MISC
should be sent. This does not cause any issues with the X driver now
that the pen and pad have been split to separate devices, but is
incorrect and has caused issues when backporting to distros with pre-
3.17 kernels.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c