summaryrefslogtreecommitdiff
path: root/ft3658
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2022-03-25 15:40:44 +0800
committerMason Wang <masonwang@google.com>2022-03-25 16:30:04 +0800
commit3e37ce8b06524fbe5d1383d99fa7e17451494d2a (patch)
tree9b4524e4086bed709ca84d20768b5523b41b3c22 /ft3658
parent4749c83fba4d226453bf0dcd846a30d8214f5bd4 (diff)
downloadfocaltech_touch-3e37ce8b06524fbe5d1383d99fa7e17451494d2a.tar.gz
touch/focaltech: fix incorrect timestamp of reporting touch point.
Bug: 223741465 Bug: 224713918 Test: Verify pass by checking the log by following adb command to see if there are multi-point at the same timestamp. adb shell getevent -lt Signed-off-by: Mason Wang <masonwang@google.com> Change-Id: Ic54ea88a7b4fd613892f3bd35ea6375f08f3be21
Diffstat (limited to 'ft3658')
-rw-r--r--ft3658/focaltech_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ft3658/focaltech_core.c b/ft3658/focaltech_core.c
index 45baae3..38e0dcd 100644
--- a/ft3658/focaltech_core.c
+++ b/ft3658/focaltech_core.c
@@ -1489,7 +1489,7 @@ static void fts_offload_report(void *handle,
mutex_lock(&ts_data->report_mutex);
- input_set_timestamp(ts_data->input_dev, ts_data->coords_timestamp);
+ input_set_timestamp(ts_data->input_dev, report->timestamp);
for (i = 0; i < MAX_COORDS; i++) {
if (report->coords[i].status != COORD_STATUS_INACTIVE) {