提高TP稳定性
This commit is contained in:
parent
1f413196ff
commit
6015482e43
|
@ -901,8 +901,12 @@ FINGER_PROCESS:
|
||||||
i2c_buf[2] = 0xAB;
|
i2c_buf[2] = 0xAB;
|
||||||
ret = cst3xx_i2c_write(hyn_ts_data->client, i2c_buf, 3);
|
ret = cst3xx_i2c_write(hyn_ts_data->client, i2c_buf, 3);
|
||||||
if(ret < 0) {
|
if(ret < 0) {
|
||||||
HYN_ERROR(" cst3xx hyn send read touch info ending failed.\r\n");
|
pr_emerg(" cst3xx hyn send read touch info ending failed.\r\n");
|
||||||
goto OUT_PROCESS;
|
/* 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))
|
#if (HYN_DEBUG_EN && (HYN_DEBUG_LEVEL == 2))
|
||||||
hyn_show_touch_buffer(buf, cnt);
|
hyn_show_touch_buffer(buf, cnt);
|
||||||
|
|
Loading…
Reference in New Issue