common: support tp CST226 for yeke [3/3]

PD#SWPL-8013

Problem:
support touchpanel CST226 for yeke.

Solution:
support touchpanel CST226 for yeke.

Verify:
verify by u202.

Change-Id: I4a994ed97f56a4486f3ab39c3e2cd0e5fbed667e
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
This commit is contained in:
Gongwei Chen
2019-05-10 18:57:22 +08:00
parent 55f3adab83
commit cc69df9d8e

View File

@@ -534,7 +534,7 @@ static int cst2xx_read_checksum(struct i2c_client *client)
if ((buf[0] == 0x01) || (buf[0] == 0x02))
break;
usleep_range(2000, 2010)
usleep_range(2000, 2010);
}
if ((buf[0] == 0x01) || (buf[0] == 0x02)) {
@@ -931,6 +931,8 @@ XY_WORK_END:
i2c_lock_flag = 0;
i2c_lock_schedule:;
#endif
return;
}
#ifdef HYN_MONITOR