channel: input fix touch issue

fix the touch issue
pick up the fix from odm

Change-Id: I76e80f2c3d46055bb592a72d2e05bee31d0e3296
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1266915
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
dengwei1 2018-11-09 18:23:10 +08:00 • committed by Wei Deng
commit df7495ef11
2 changed files with 3 additions and 0 deletions

View file

@ -126,6 +126,7 @@ int core_i2c_write(uint8_t nSlaveId, uint8_t *pBuf, uint16_t nSize)
if (core_config->do_ic_reset) {
/* ignore i2c error if doing ic reset */
res = 0;
break;
} else {
res = -EIO;
ipio_err("I2C Write Error, res = %d retry = %d\n", res, retry);

View file

@ -1684,6 +1684,8 @@ static int32_t nvt_ts_resume(struct device *dev)
#endif
#if NVT_TOUCH_ESD_PROTECT
nvt_esd_check_enable(true);
queue_delayed_work(nvt_esd_check_wq, &nvt_esd_check_work,
msecs_to_jiffies(NVT_TOUCH_ESD_CHECK_PERIOD));
#endif /* #if NVT_TOUCH_ESD_PROTECT */