aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom_sys.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-09-07 17:47:38 -0700
committerJiri Kosina <jkosina@suse.cz>2017-09-13 19:14:48 +0200
commit92380b572d95caf48f8424746aeee63c5a2b1922 (patch)
treef2d7d95bf58d0c16668c4eecd565f297c589c881 /drivers/hid/wacom_sys.c
parentHID: wacom: generic: Send MSC_SERIAL and ABS_MISC when leaving prox (diff)
downloadlinux-dev-92380b572d95caf48f8424746aeee63c5a2b1922.tar.xz
linux-dev-92380b572d95caf48f8424746aeee63c5a2b1922.zip
HID: wacom: generic: Clear ABS_MISC when tool leaves proximity
The tool ID information sent in ABS_MISC is expected to be reset to 0 when a tool leaves proximity. Not doing this can cause problems if a tool is removed and then re-introduced. Kernel event filtering will prevent the (identical) ABS_MISC event from being sent when the tool re-enters proxmity. This can cause userspace to not properly set the tool ID. Fixes: f85c9dc678 ("HID: wacom: generic: Support tool ID and additional tool types") Cc: stable # v4.10 <stable@vger.kernel.org> Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
0 files changed, 0 insertions, 0 deletions