]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: call _query_tablet_data() for BAMBOO_TOUCH
authorAaron Armstrong Skomra <skomra@gmail.com>
Wed, 29 Mar 2017 18:41:28 +0000 (11:41 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 30 Mar 2017 09:30:45 +0000 (11:30 +0200)
commitb56d099e5cfd2faf3dfd74e1834f8a3fb3eaf3ff
treed8b2582144883a2275300fa1358426ebf43983e8
parent57203e4d03e39d43b671ef3f0267dce25824ff47
HID: wacom: call _query_tablet_data() for BAMBOO_TOUCH

Commit 9c7b885de5b9 ("HID: wacom: do not attempt to switch mode
while in probe") introduces delayed work for querying (setting the
mode) on all tablets. Bamboo Touch (056a:00d0) has a ghost
interface which claims to be a pen device. Though this device can
be removed, we have to set the mode on the ghost pen interface
before we remove it. After the aforementioned delay was introduced
the device was being removed before the mode setting could be
executed.

Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c