focaltech_0flash: Release events in suspend

TP:
Release all input event before detachedvice go to suspend.

Change-Id: I0f6513cb5075a7dc5afd9ff3a1e3fd104cebc582
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1371914
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:
haojl2 2019-06-17 11:17:57 +08:00 • committed by Jialei Hao
commit f3c7f1769e

View file

@ -1649,6 +1649,7 @@ static int fts_ts_suspend(struct device *dev)
#endif
}
fts_release_all_finger();
ts_data->suspended = true;
FTS_FUNC_EXIT();
return 0;