diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2014-07-25 17:16:42 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-07 23:37:07 -0700 |
commit | f8ec894945e7d205ce62be59e55e72c4304e4739 (patch) | |
tree | 7ae5c54a70668c0b1a619907369e99c184666d05 /include/linux/input | |
parent | 437d4f3797041942947ec838cf5d65f770562c5d (diff) |
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>
Diffstat (limited to 'include/linux/input')
-rw-r--r-- | include/linux/input/mt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input/mt.h b/include/linux/input/mt.h index 1b1dfa80d9f..f583ff63977 100644 --- a/include/linux/input/mt.h +++ b/include/linux/input/mt.h @@ -105,6 +105,7 @@ void input_mt_report_slot_state(struct input_dev *dev, void input_mt_report_finger_count(struct input_dev *dev, int count); void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); +void input_mt_drop_unused(struct input_dev *dev); void input_mt_sync_frame(struct input_dev *dev); |