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:
haojl2 2019-08-28 18:48:37 +08:00 • committed by Jialei Hao
commit fc40897dd4

View file

@ -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;