summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2014-07-26 02:16:42 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-08-08 08:37:07 +0200
commitf8ec894945e7d205ce62be59e55e72c4304e4739 (patch)
tree7ae5c54a70668c0b1a619907369e99c184666d05 /include
parentInput: atmel_mxt_ts - mXT224 DMA quirk was fixed in firmware v2.0.AA (diff)
downloadlinux-f8ec894945e7d205ce62be59e55e72c4304e4739.tar.xz
linux-f8ec894945e7d205ce62be59e55e72c4304e4739.zip
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.h1
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,
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);