]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: remove the extra Pen interface for Wacom Bamboo PAD
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 9 Jul 2015 18:11:51 +0000 (14:11 -0400)
committerJiri Kosina <jkosina@suse.com>
Mon, 13 Jul 2015 11:16:37 +0000 (13:16 +0200)
commitd72bdf097268dc908f7d71162740bfa3aa9e0399
tree632c11066d3da5c020e9ffdfb1a30602b6e10e47
parentd926ea77c89dda72a85e41efbf4224eeb3fbef3f
HID: wacom: remove the extra Pen interface for Wacom Bamboo PAD

As mentioned in the comment in the code, both the pen and touch data
come from the interface tagged as BAMBOO_PAD. The driver re-routes the
events for the Pen to the generic HID interface and keeps the ones for
the touch through this current interface.

Clearing the WACOM_DEVICETYPE_PEN bit removes the extra unused interface
added in 52ed239 ("HID: wacom: Introduce new 'touch_input' device") and
makes the Bamboo PAD to behave like in 4.1.

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