提高TP稳定性

This commit is contained in:
张兆鹏 2024-09-27 10:09:19 +08:00
parent 1f413196ff
commit 6015482e43
1 changed files with 6 additions and 2 deletions

View File

@ -901,8 +901,12 @@ FINGER_PROCESS:
i2c_buf[2] = 0xAB;
ret = cst3xx_i2c_write(hyn_ts_data->client, i2c_buf, 3);
if(ret < 0) {
HYN_ERROR(" cst3xx hyn send read touch info ending failed.\r\n");
goto OUT_PROCESS;
pr_emerg(" cst3xx hyn send read touch info ending failed.\r\n");
/* don't drop the up event even if response to touch sensor fail */
if (buf[0] != 0)
{
goto OUT_PROCESS;
}
}
#if (HYN_DEBUG_EN && (HYN_DEBUG_LEVEL == 2))
hyn_show_touch_buffer(buf, cnt);