mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Add sense off process to enter the idle process.
Add sense off process berfore sense on to avoid the problem that tp firmware cannot exit the gesture mode normally. Change-Id: Ibb7a8572c168f8c4427c868fd8075ea086138243 Reviewed-on: https://gerrit.mot.com/1973335 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a358f8bae4
commit
38f8cc8aae
1 changed files with 4 additions and 0 deletions
|
|
@ -3518,6 +3518,10 @@ static int fts_mode_handler(struct fts_ts_info *info, int force)
|
|||
__func__);
|
||||
}
|
||||
#endif
|
||||
|
||||
logError(1, "%s %s: Sense OFF!\n", tag, __func__);
|
||||
res |= setScanMode(SCAN_MODE_ACTIVE, 0x00);
|
||||
|
||||
/* if some selective scan want to be enabled can be done an or
|
||||
* of the following options */
|
||||
/* settings[0] = ACTIVE_MULTI_TOUCH | ACTIVE_KEY | ACTIVE_HOVER
|
||||
|
|
|
|||
Loading…
Reference in a new issue