From 04e6abfcb8bd29c48908e4fbddd1b9bba4cb33c7 Mon Sep 17 00:00:00 2001 From: davidycchen Date: Thu, 26 May 2022 10:58:18 +0800 Subject: synaptics: create a work for offload_running setting commands. Create a work for those settings commands when the offload_running status changes to avoid to poll response event which may bypass other touch events. Bug: 233827001 Test: Turn the twoshay on and off and check all setting commands works. Signed-off-by: davidycchen Change-Id: I8612e2d8ef216ba3a1b6d6340c15dd2875d531cd --- syna_tcm2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'syna_tcm2.h') diff --git a/syna_tcm2.h b/syna_tcm2.h index 907ee77..34cfc56 100644 --- a/syna_tcm2.h +++ b/syna_tcm2.h @@ -469,6 +469,7 @@ struct syna_tcm { struct touch_offload_context offload; u16 *heatmap_buff; struct touch_offload_frame *reserved_frame; + struct work_struct offload_running_work; bool reserved_frame_success; #endif -- cgit v1.2.3