synaptics_tcm: disable irq in early suspend

After early suspend, LCD will turnoff power.
If irq still enabled, there will be lots of I2C communication error.

Change-Id: Icab52436d25f7f7ceeaace77286b2bbfa407e7a5
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1213096
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 2018-07-20 11:26:59 +08:00 • committed by Jialei Hao
commit 3861cfd076

View file

@ -3197,6 +3197,11 @@ static int syna_tcm_early_suspend(struct device *dev)
mutex_unlock(&mod_pool.mutex);
#ifndef WAKEUP_GESTURE
tcm_hcd->enable_irq(tcm_hcd, false, true);
#endif
return 0;
}