projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224ce6c
)
ili2102 driver : update for td8801_v2
author
zhanghao
<zhanghao@rock-chips.com>
Wed, 8 Feb 2012 06:38:29 +0000
(14:38 +0800)
committer
zhanghao
<zhanghao@rock-chips.com>
Wed, 8 Feb 2012 06:39:04 +0000
(14:39 +0800)
drivers/input/touchscreen/ili2102_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/ili2102_ts.c
b/drivers/input/touchscreen/ili2102_ts.c
index e043d1b5f34899646cfcc1fc7e9ab5be1aac30b2..fd64405c3e622a20541e79068748664f518e2b48 100755
(executable)
--- a/
drivers/input/touchscreen/ili2102_ts.c
+++ b/
drivers/input/touchscreen/ili2102_ts.c
@@
-399,6
+399,11
@@
static void ili2102_ts_work_func(struct work_struct *work)
x = g_x[i];
y = g_y[i];
}
+ #ifdef CONFIG_MACH_RK29_TD8801_V2
+ if( y >=80 ) y-=80;
+ if( x >= 50 ) x-=50;
+ #endif
+
g_x[i] = x;
g_y[i] = y;