summaryrefslogtreecommitdiff
path: root/syna_tcm2.h
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2022-03-04 13:59:59 +0800
committerdavidycchen <davidycchen@google.com>2022-03-04 17:29:53 +0800
commitc5e2ea3daf0732f625ab00711168d53e05cf426d (patch)
treeb8c9f8c7aca9a7d9eae1cbd6454137559377d284 /syna_tcm2.h
parent22f05dc77c4b535122f39dbafc2c92f8f833aa14 (diff)
downloadsynaptics_touch-c5e2ea3daf0732f625ab00711168d53e05cf426d.tar.gz
synaptics: remove heatmap timer
Remove the heatmap timer and add a flag to make sure the heatmap frame will not be allocated without queuing. Bug: 222597960 Test: enable twoshay without getting ramdump. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ifda65afe30f056c50faf714ff3645c24a12dfe66
Diffstat (limited to 'syna_tcm2.h')
-rw-r--r--syna_tcm2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syna_tcm2.h b/syna_tcm2.h
index ba7b95e..ecf6987 100644
--- a/syna_tcm2.h
+++ b/syna_tcm2.h
@@ -437,8 +437,8 @@ struct syna_tcm {
#if IS_ENABLED(CONFIG_TOUCHSCREEN_OFFLOAD)
struct touch_offload_context offload;
u16 *heatmap_buff;
- struct hrtimer heatmap_timer;
struct touch_offload_frame *reserved_frame;
+ bool reserved_frame_success;
#endif
#if IS_ENABLED(CONFIG_TOUCHSCREEN_HEATMAP)