Jason Gerecke 92380b572d 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>
2017-09-13 19:14:48 +02:00
..
2017-09-05 09:53:37 -07:00
2017-09-05 11:08:17 -07:00
2017-09-05 11:08:17 -07:00
2017-07-04 14:28:22 -07:00
2017-09-05 10:41:21 -07:00
2017-07-06 11:32:40 -07:00
2017-09-05 11:08:17 -07:00
2017-08-15 16:16:58 +10:00
2017-09-03 18:43:20 -07:00
2017-09-05 11:08:17 -07:00
2017-08-29 13:46:35 +02:00
2017-07-01 14:30:39 -07:00
2017-09-03 17:49:17 -07:00
2017-08-17 10:23:45 +02:00
2017-09-05 11:08:17 -07:00
2017-09-03 17:49:17 -07:00
2017-09-05 11:08:17 -07:00
2017-08-01 15:22:55 -07:00
2017-07-13 11:49:52 -07:00
2017-07-05 17:09:27 -07:00
2017-07-06 15:38:31 -07:00
2017-08-21 11:08:03 +02:00
2017-09-05 11:08:17 -07:00
2017-09-05 10:41:21 -07:00
2017-09-05 10:41:21 -07:00
2017-08-24 09:57:28 +02:00