mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
nova_0flash_mmi: enable irq by gester status
TP: resture irq based on gesture function status, not by sensor flag. This can make sure TP works normal all the time. Change-Id: I095413b29d63319dda300c3b5f3c24e9e703416f Signed-off-by: haojl2 <haojl2@motorola.com> (cherry picked from commit 920337119a66daba4413d7eade7dc1885b2ec8f7) Reviewed-on: https://gerrit.mot.com/1448176 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jun Weng <wengjun1@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
1b609ecc23
commit
968871325d
1 changed files with 1 additions and 1 deletions
|
|
@ -2449,7 +2449,7 @@ static int32_t nvt_ts_resume(struct device *dev)
|
|||
nvt_irq_enable(true);
|
||||
#else
|
||||
#ifdef NVT_SENSOR_EN
|
||||
if (!ts->should_enable_gesture)
|
||||
if (!ts->gesture_enabled)
|
||||
nvt_irq_enable(true);
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue