summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-05-07 15:42:59 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2014-05-07 15:42:59 -0700
commit50d83025640d6f465c37799ffdab9f6a2dc75b5f (patch)
tree9086c00a795f8d831a73d6c253cd7d0e7a919974 /drivers
parente642ab37a60af7f68cca18f337fe1314869f5f9f (diff)
ft5x06: Call translate() routine to optionally use calibration[] array
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
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);