focaltech_0flash_mmi: add reg log when tp not in normal mode

GIN: focaltech touch driver update
add reg log when tp not in normal mode, for better issue analysis

Change-Id: I3a9f6d0ca1c469ebf432d1552a5949e5bbfdb145
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1745700
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
hujing3 2020-09-10 10:55:53 +08:00 • committed by Jing Hu
commit 41db0f7754

View file

@ -264,7 +264,7 @@ static int esdcheck_algorithm(struct fts_ts_data *ts_data)
if ( ret < 0 ) {
fts_esdcheck_data.nack_cnt++;
} else if ( (reg_value & 0x70) != FTS_REG_WORKMODE_WORK_VALUE) {
FTS_DEBUG("[ESD]: not in work mode, no check esd, return immediately!!");
FTS_INFO("[ESD]: not in work mode(reg=0x%x), no check esd, return immediately!!", reg_value);
return 0;
}