mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
focaltech_0flash_mmi: release fingers in palm suspend
TP: When panel suspend by palm sensor enabled, release all fingers. Change-Id: I496b6b81bc87e553fea1a6acd720b15b1ddaeab9 Signed-off-by: haojl2 <haojl2@motorola.com> Reviewed-on: https://gerrit.mot.com/1411993 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
e3eebc917d
commit
fc40897dd4
1 changed files with 1 additions and 0 deletions
|
|
@ -2032,6 +2032,7 @@ static int _fts_ts_suspend(struct device *dev)
|
|||
if (ret) {
|
||||
FTS_DEBUG("enable_irq_wake(irq:%d) fail", ts_data->irq);
|
||||
}
|
||||
fts_release_all_finger();
|
||||
ts_data->suspended = true;
|
||||
FTS_INFO("Enter from palm detect suspend mode.");
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue