himax_mmi: release all events before suspend.

If there are some touch event not release before IC go to suspend.
Driver helps to report up events before suspend.

Change-Id: I02f43e42e65b93d555fedc6bead2c5959193f6ce
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1302438
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
haojl2 2019-01-29 14:44:04 +08:00 • committed by Jialei Hao
commit 12c8c04b5c

View file

@ -2886,6 +2886,7 @@ int himax_chip_common_suspend(struct himax_ts_data *ts)
#endif
himax_int_enable(0);
himax_report_all_leave_event(ts);
g_core_fp.fp_suspend_ic_action();
if (!ts->use_irq) {