mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
himax_mmi: Fix tracking ID -1 missed issue.
pre_finger_mask is overwritten to 0 when all finger leave. So input_mt_report_slot_state will not called in himax_finger_leave func Use old_finger instead. Change-Id: Ic2db89273ea8fd91e88d1ce0dd9774f6b276d051 Signed-off-by: haojl2 <haojl2@motorola.com> Reviewed-on: https://gerrit.mot.com/1246456 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
6713bcc1e8
commit
3f8f4acdca
1 changed files with 1 additions and 1 deletions
|
|
@ -1935,7 +1935,7 @@ static void himax_finger_leave(struct himax_ts_data *ts)
|
|||
#endif
|
||||
|
||||
for (loop_i = 0; loop_i < ts->nFinger_support; loop_i++) {
|
||||
if (((ts->pre_finger_mask >> loop_i) & 1) == 1) {
|
||||
if (((ts->old_finger >> loop_i) & 1) == 1) {
|
||||
input_mt_slot(ts->input_dev, loop_i);
|
||||
input_mt_report_slot_state(ts->input_dev, MT_TOOL_FINGER, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue