mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Fix multi-finger touch error logic
Fix multi-finger touch error logic,previous change will cause not released down event. Change-Id: I69509221ef9fa15119bbb072ce3a4a493d7bc8c0 Signed-off-by: Wenge Zhu <zhuwg1@motorola.com> Reviewed-on: https://gerrit.mot.com/2526281 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
495fcf0d67
commit
aacfd4eda7
1 changed files with 2 additions and 2 deletions
|
|
@ -2420,8 +2420,8 @@ static irqreturn_t bt541_touch_work(int irq, void *data)
|
|||
input_report_abs(info->input_dev, ABS_MT_POSITION_X, x);
|
||||
input_report_abs(info->input_dev, ABS_MT_POSITION_Y, y);
|
||||
input_report_key(info->input_dev, BTN_TOUCH, 1);
|
||||
} else if ((zinitix_bit_test(sub_status, SUB_BIT_UP) ||
|
||||
zinitix_bit_test(prev_sub_status, SUB_BIT_EXIST)) && info->finger_cnt1) {
|
||||
} else if (zinitix_bit_test(sub_status, SUB_BIT_UP) ||
|
||||
zinitix_bit_test(prev_sub_status, SUB_BIT_EXIST)) {
|
||||
dev_info(&client->dev, "Finger [%02d] up ver0x%02x hw0x%02x mode0x%02x\n",
|
||||
i, info->cap_info.reg_data_version,
|
||||
info->cap_info.hw_id, m_optional_mode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue