mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
15e2fddd44
commit
df7495ef11
2 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue