diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2014-07-25 20:16:42 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-08-08 02:37:07 -0400 |
commit | f8ec894945e7d205ce62be59e55e72c4304e4739 (patch) | |
tree | 7ae5c54a70668c0b1a619907369e99c184666d05 /include | |
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')
-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 1b1dfa80d9ff..f583ff639776 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, | |||
105 | 105 | ||
106 | void input_mt_report_finger_count(struct input_dev *dev, int count); | 106 | void input_mt_report_finger_count(struct input_dev *dev, int count); |
107 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); | 107 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); |
108 | void input_mt_drop_unused(struct input_dev *dev); | ||
108 | 109 | ||
109 | void input_mt_sync_frame(struct input_dev *dev); | 110 | void input_mt_sync_frame(struct input_dev *dev); |
110 | 111 | ||