From f857470e3d86d021d7c8a4ae5db8e70815e2f80e Mon Sep 17 00:00:00 2001 From: Zhenbin Tan Date: Thu, 30 May 2024 16:31:15 +0800 Subject: [PATCH] touch: raydium: Shaking DUT exit traker mode issue Enter display setting, set AON off, TTB on, TTW on or off, back to watch face, wait for auto enter traker mode, shaking DUT wakeup event will cause exit tracker mode. Change-Id: I976d16da298c016a429975f13eeb4ca307b67330 Signed-off-by: Zhenbin Tan --- raydium/raydium_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/raydium/raydium_driver.c b/raydium/raydium_driver.c index 4d4efb514b..ff0421e711 100644 --- a/raydium/raydium_driver.c +++ b/raydium/raydium_driver.c @@ -1219,9 +1219,9 @@ static void raydium_work_handler(struct work_struct *work) #endif LOGD(LOG_DEBUG, "[touch] elseif u8_tp_status:%x\n", u8_tp_status[POS_GES_STATUS]); /*need check small area*/ - /*if (u8_tp_status[POS_GES_STATUS] == RAD_WAKE_UP */ - /*&& g_u8_wakeup_flag == false) { */ - if (u8_tp_status[POS_GES_STATUS] == 0) { + if (u8_tp_status[POS_GES_STATUS] == RAD_WAKE_UP + && g_u8_wakeup_flag == false) { + /*if (u8_tp_status[POS_GES_STATUS] == 0) {*/ input_report_key(g_raydium_ts->input_dev, KEY_WAKEUP, true); usleep_range(9500, 10500); input_sync(g_raydium_ts->input_dev);