mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
: Bangkok CSOT+FT3681 Fix TP Ghost Point Issue
Fix unlocking with a fingerprint when the screen is off, ghost spots appear on the screen. No call to tp_gesture_recovery in tp_resume_recovery. Change-Id: I8f026cfb1faf35b11596dee7bd8ad561d5819cb1 Signed-off-by: LiZidong <tnlizd@motorola.com> Reviewed-on: https://gerrit.mot.com/2720737 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Reviewed-by: Wei Deng <dengwei1@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
7887e1b007
commit
1c72ae7c2c
3 changed files with 17 additions and 1 deletions
|
|
@ -156,6 +156,20 @@ void fts_tp_state_recovery(struct fts_ts_data *ts_data)
|
|||
FTS_FUNC_EXIT();
|
||||
}
|
||||
|
||||
void fts_tp_resume_recovery(struct fts_ts_data *ts_data)
|
||||
{
|
||||
FTS_FUNC_ENTER();
|
||||
/* wait tp stable */
|
||||
fts_wait_tp_to_valid();
|
||||
/* recover TP charger state 0x8B */
|
||||
/* recover TP glove state 0xC0 */
|
||||
/* recover TP cover state 0xC1 */
|
||||
fts_ex_mode_recovery(ts_data);
|
||||
/* recover TP gesture state 0xD0 */
|
||||
//fts_gesture_recovery(ts_data);
|
||||
FTS_FUNC_EXIT();
|
||||
}
|
||||
|
||||
int fts_reset_proc(int hdelayms)
|
||||
{
|
||||
FTS_DEBUG("tp reset");
|
||||
|
|
|
|||
|
|
@ -417,6 +417,7 @@ int fts_check_cid(struct fts_ts_data *ts_data, u8 id_h);
|
|||
int fts_wait_tp_to_valid(void);
|
||||
void fts_release_all_finger(void);
|
||||
void fts_tp_state_recovery(struct fts_ts_data *ts_data);
|
||||
void fts_tp_resume_recovery(struct fts_ts_data *ts_data);
|
||||
int fts_ex_mode_init(struct fts_ts_data *ts_data);
|
||||
int fts_ex_mode_exit(struct fts_ts_data *ts_data);
|
||||
int fts_ex_mode_recovery(struct fts_ts_data *ts_data);
|
||||
|
|
|
|||
|
|
@ -727,7 +727,8 @@ static int fts_mmi_post_resume(struct device *dev)
|
|||
#endif
|
||||
}
|
||||
|
||||
fts_tp_state_recovery(ts_data);
|
||||
//fts_tp_state_recovery(ts_data);
|
||||
fts_tp_resume_recovery(ts_data);
|
||||
|
||||
#if FTS_ESDCHECK_EN
|
||||
fts_esdcheck_resume();
|
||||
|
|
|
|||
Loading…
Reference in a new issue