diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-07-21 11:07:23 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2015-07-23 14:02:43 +0200 |
commit | 06324e0cb28e06cd7cf609d7c3099b12841a5dd6 (patch) | |
tree | 2fe8a94b455aba6f0cd6a2508d73ef9e37c3aada /drivers/hid/wacom_sys.c | |
parent | 2bdd163cfd262914e8f6152e37aebea2034f801e (diff) |
HID: wacom: Perform all event processing as part of report processing
In some cases, we need access to information before it becomes available
to the 'event' handler. In particular, for some devices we cannot properly
process the finger data without first knowing the "contact count" at the
very end of the report (e.g. the Cintiq 24HDT touch screen, when forced
through the GENERIC codepath).
Since the HID subsystem doesn't provide a way to take action before 'event'
is called, we take a cue from hid-multitouch.c and add a pre-process step
within the 'report' handler that performs the same function.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
-rw-r--r-- | drivers/hid/wacom_sys.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index 2a221630d8dc..d932349277cd 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c @@ -1690,7 +1690,6 @@ static struct hid_driver wacom_driver = { .id_table = wacom_ids, .probe = wacom_probe, .remove = wacom_remove, - .event = wacom_wac_event, .report = wacom_wac_report, #ifdef CONFIG_PM .resume = wacom_resume, |