Input: MT - make slot cleanup callable outside mt_sync_frame()
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 26 Jul 2014 00:16:42 +0000 (17:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Aug 2014 06:37:07 +0000 (23:37 -0700)
commitf8ec894945e7d205ce62be59e55e72c4304e4739
tree7ae5c54a70668c0b1a619907369e99c184666d05
parent437d4f3797041942947ec838cf5d65f770562c5d
Input: MT - make slot cleanup callable outside mt_sync_frame()

Some semi-mt drivers use the slots in a manual way, but may still
want to call parts of the frame synchronization logic. This patch
makes input_mt_drop_unused callable from those drivers.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-mt.c
include/linux/input/mt.h