HID: wacom: process invalid Cintiq and Intuos data in wacom_intuos_inout()
authorPing Cheng <pinglinux@gmail.com>
Fri, 9 Jan 2015 19:04:50 +0000 (11:04 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Jan 2015 09:16:32 +0000 (10:16 +0100)
commit373a5356dfb75ea7140f8d37cf26eb6a62910617
tree464c3bc8511d6dce5327bcb8bde962ae3f6e0a65
parent61e9e7e40a93cfb4a70180beefbbb5bd0c860aeb
HID: wacom: process invalid Cintiq and Intuos data in wacom_intuos_inout()

Users may use unsupported tools on Cintiq or Intuos. When invalid tools or data
are detected, they should be ignored. That is, no event from those tools should
be reported.

Consolidating that code in wacom_intuos_inout simplifies the logic and make it
easier for future code change.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c