input_mt_get_slot_by_key() requires input_mt_sync_frame() to be called
at each frame. Do it when releasing the touches, or else we won't get
a proper slot number after mt_reset_resume().
Signed-off-by: Gabriele Mazzotta <redacted>
---
drivers/hid/hid-multitouch.c | 1 +
1 file changed, 1 insertion(+)
Hi Gabriele,
Thanks for the fix!
On Tue, Mar 29, 2016 at 1:10 PM, Gabriele Mazzotta
[off-list ref] wrote:
input_mt_get_slot_by_key() requires input_mt_sync_frame() to be called
at each frame. Do it when releasing the touches, or else we won't get
a proper slot number after mt_reset_resume().
Signed-off-by: Gabriele Mazzotta <redacted>
From: Benjamin Tissoires <hidden> Date: 2016-03-30 07:46:35
On Mar 29 2016 or thereabouts, Gabriele Mazzotta wrote:
input_mt_get_slot_by_key() requires input_mt_sync_frame() to be called
at each frame. Do it when releasing the touches, or else we won't get
a proper slot number after mt_reset_resume().
Signed-off-by: Gabriele Mazzotta <redacted>
Thanks for the fix (I should have spot that earlier :( )
Reviewed-by: Benjamin TIssoires <redacted>
Cheers,
Benjamin
input_mt_get_slot_by_key() requires input_mt_sync_frame() to be called
at each frame. Do it when releasing the touches, or else we won't get
a proper slot number after mt_reset_resume().
Signed-off-by: Gabriele Mazzotta <redacted>