mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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:
parent
b09895661b
commit
3861cfd076
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue