summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/ft5x06_ts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/ft5x06_ts.c b/drivers/input/touchscreen/ft5x06_ts.c
index 7a97fa40fe89..1b8a7695188d 100644
--- a/drivers/input/touchscreen/ft5x06_ts.c
+++ b/drivers/input/touchscreen/ft5x06_ts.c
@@ -120,6 +120,7 @@ static inline void ts_evt_add(struct ft5x06_ts *ts,
#endif
} else {
for (i = 0; i < buttons; i++) {
+ translate(&p[i].x, &p[i].y);
#ifdef USE_ABS_MT
input_event(idev, EV_ABS, ABS_MT_POSITION_X, p[i].x);
input_event(idev, EV_ABS, ABS_MT_POSITION_Y, p[i].y);