summaryrefslogtreecommitdiff
path: root/drivers/parisc
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-08-22 22:43:22 +0400
committerHenrik Rydberg <rydberg@euromail.se>2012-09-19 21:50:19 +0400
commit55e49089f4589908eb688742d2d7eff33b74ac78 (patch)
treeea080c5831e489465378a37480d87c1125143b8c /drivers/parisc
parentb4adbbefc2099476a4f1020041c99f52cf3cd67d (diff)
downloadlinux-55e49089f4589908eb688742d2d7eff33b74ac78.tar.xz
Input: MT - Handle frame synchronization in core
Most MT drivers perform the same actions on frame synchronization. Some actions, like dropping unseen contacts, are also unnecessarily complex. Collect common frame synchronization tasks in a new function, input_mt_sync_frame(). Depending on the flags set, it drops unseen contacts and performs pointer emulation. With init flags and frame synchronization in place, most MT drivers can be simplified. First out are the bcm5974 and hid-multitouch drivers, following this patch. Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Tested-by: Ping Cheng <pingc@wacom.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions