From fc65cf4672223480da3e62940460e8b2bcdd28ef Mon Sep 17 00:00:00 2001 From: Deng Wei Date: Wed, 25 May 2022 18:01:27 +0800 Subject: [PATCH] tundra: input touch use boottime to get timestampe use boottime to get timestampe Change-Id: If5f678b542a4a9b2b46ea5ec6b263510cc16ea94 Signed-off-by: Deng Wei Reviewed-on: https://gerrit.mot.com/2279515 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang Submit-Approved: Jira Key --- drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c index 15bd90e02186..f274b1aed751 100644 --- a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c +++ b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c @@ -1207,7 +1207,7 @@ static void goodix_ts_report_finger(struct input_dev *dev, touch_data->coords[i].w); if (touchdown[i] == 0) { #ifdef CONFIG_GTP_LAST_TIME - core_data->last_event_time = ktime_get(); + core_data->last_event_time = ktime_get_boottime(); ts_debug("TOUCH: [%d] logged timestamp\n", i); #endif touchdown[i] = 1;