mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
A22:modify touch screen driver according to its firmware
This commit is contained in:
@@ -344,14 +344,14 @@ static void ili2102_ts_work_func(struct work_struct *work)
|
||||
msg[0].flags = ts->client->flags;
|
||||
msg[0].len = 1;
|
||||
msg[0].buf = &start_reg;
|
||||
msg[0].scl_rate = 400*1000;
|
||||
msg[0].udelay = 250;
|
||||
msg[0].scl_rate = 200*1000;
|
||||
msg[0].udelay = 200;
|
||||
|
||||
msg[1].addr = ts->client->addr;
|
||||
msg[1].flags = ts->client->flags | I2C_M_RD;
|
||||
msg[1].len = 9;
|
||||
msg[1].buf = buf;
|
||||
msg[1].scl_rate = 400*1000;
|
||||
msg[1].scl_rate = 200*1000;
|
||||
msg[1].udelay = 0;
|
||||
|
||||
ret = i2c_transfer(ts->client->adapter, msg, 2);
|
||||
@@ -419,7 +419,7 @@ static void ili2102_ts_work_func(struct work_struct *work)
|
||||
if(syn_flag)
|
||||
input_sync(ts->input_dev);
|
||||
out:
|
||||
#if 1
|
||||
#if 0
|
||||
if(ts->pendown)
|
||||
{
|
||||
schedule_delayed_work(&ts->work, msecs_to_jiffies(12));
|
||||
|
||||
Reference in New Issue
Block a user