Browse Source

Merge "touch: raydium: Shaking DUT exit traker mode issue"

qctecmdr 9 tháng trước cách đây
mục cha
commit
11673cbf0c
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      raydium/raydium_driver.c

+ 3 - 3
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);