HID: wacom: do not directly use input_mt_report_pointer_emulation
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 17 Feb 2015 19:19:46 +0000 (14:19 -0500)
committerJiri Kosina <jkosina@suse.cz>
Wed, 18 Feb 2015 22:43:15 +0000 (23:43 +0100)
commit9a1c001298fd567c0f0776ab54ab9965eeb9019f
tree4905bf101dbe8696246f1eb929c95217a9ea555a
parent870fd0f5df4e131467612cc46db46fc3b69fd706
HID: wacom: do not directly use input_mt_report_pointer_emulation

input_mt_sync_frame() calls input_mt_report_pointer_emulation() and do
some internal steps required to keep in sync the state of the touch within
the various reports.

Given that we use input_mt_get_slot_by_key() in this driver, it is better to
use input_mt_sync_frame().

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