From 41db0f7754770870dbd95dd771948c96935fa543 Mon Sep 17 00:00:00 2001 From: hujing3 Date: Thu, 10 Sep 2020 10:55:53 +0800 Subject: [PATCH] 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 Reviewed-on: https://gerrit.mot.com/1745700 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- .../input/touchscreen/focaltech_0flash_mmi/focaltech_esdcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_esdcheck.c b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_esdcheck.c index 3780212b5e4f..993f531fbad5 100755 --- a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_esdcheck.c +++ b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_esdcheck.c @@ -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; }