HID: wacom: Enable pad device for older Bamboo Touch tablets
authorJason Gerecke <killertofu@gmail.com>
Wed, 1 Jul 2015 20:01:00 +0000 (13:01 -0700)
committerJiri Kosina <jkosina@suse.com>
Wed, 8 Jul 2015 09:40:59 +0000 (11:40 +0200)
commit9633920e5ef65f81d30f2acd642d6d1c25cf7bc7
tree9b07ffe888c287bdad84037603afa2041bd6cffb
parent1cc1cc92c4c4891abc48a777fb9fbc69077d5673
HID: wacom: Enable pad device for older Bamboo Touch tablets

Commit 862cf55 ("HID: wacom: Introduce a new WACOM_DEVICETYPE_PAD device_type")
neglected to set the WACOM_DEVICETYPE_PAD flag for older two-finger Bamboo
Touch tablets. Not only does this result in the pad device not appearing when
such a tablet is plugged in, but also causes a segfault when 'wacom_bpt_touch'
tries to send pad events. This patch adds the flag to resolve these issues.

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