]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc660da537ad699577f17fa6c99ef4f800c7276ee
tree4905bf101dbe8696246f1eb929c95217a9ea555a
parent465efab925c8a8551da571407689f512a923a10a
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