HID: wacom: generic: add support for touchring
authorAaron Armstrong Skomra <skomra@gmail.com>
Wed, 25 Jan 2017 20:08:39 +0000 (12:08 -0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 26 Jan 2017 20:46:44 +0000 (21:46 +0100)
commit60a221869803a0864c4b1683395ef574ee15aba6
tree8b0d1b133774e2bccd1fc4e37f05b82e2cbaa096
parent65ef4c1e98b73176a64fb6e9829e4166249392ec
HID: wacom: generic: add support for touchring

Add support for the touchring to the generic code path in support of the second
generation Intuos Pro.

We also add checks for usage->type to ensure that we handle the usage before we
report it, or change the inrange_state based on it.

Signed-off-by: Aaron Skomra <aaron.skomra@wacom.com>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c