diff options
author | davidycchen <davidycchen@google.com> | 2022-08-09 16:47:25 +0800 |
---|---|---|
committer | davidycchen <davidycchen@google.com> | 2022-08-16 12:55:07 +0800 |
commit | 8423346d940ab47a4ef0f87801fd3a10a4d8799c (patch) | |
tree | 2fe991b29651180845d9b2ed877a1e8818092743 /syna_tcm2.h | |
parent | de5cdbcffde875f1b7ea9cc3ad391375fa8803c3 (diff) | |
download | synaptics_touch-8423346d940ab47a4ef0f87801fd3a10a4d8799c.tar.gz |
synaptics: clear touch_offload coords while release all touches
When the screen is off, touch driver releases all the input touch
events. This makes the status different from touch_offload so we
need to synchronize the status.
Bug: 238536533
Test: Touch events are cleared while suspending.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I65e22a9ddc5d4366be5992afd082af390ff65f43
Diffstat (limited to 'syna_tcm2.h')
-rw-r--r-- | syna_tcm2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/syna_tcm2.h b/syna_tcm2.h index 0aaee81..cd52b28 100644 --- a/syna_tcm2.h +++ b/syna_tcm2.h @@ -470,6 +470,7 @@ struct syna_tcm { u16 *heatmap_buff; struct touch_offload_frame *reserved_frame; bool offload_reserved_coords; + u8 touch_offload_active_coords; #endif #if IS_ENABLED(CONFIG_TOUCHSCREEN_HEATMAP) |