summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuper Liu <supercjliu@google.com>2023-03-16 02:50:07 +0000
committerTreeHugger Robot <treehugger-gerrit@google.com>2023-03-17 08:38:18 +0000
commitdccc8201e4499fc2478428d3f0138636e4af8298 (patch)
tree1c0ccad7a1c89e265b521a8c7f1b03844388f3c3
parenteeeb9dfe46a405f8c93a774417736cd3bd5843e6 (diff)
downloadcommon-dccc8201e4499fc2478428d3f0138636e4af8298.tar.gz
gti: report driver status every frame
Bug: 273826479 Change-Id: I820d169026d8880386c1a86ef17ce6d907ba4e0f Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r--goog_touch_interface.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/goog_touch_interface.c b/goog_touch_interface.c
index c6dba4f..9f326f8 100644
--- a/goog_touch_interface.c
+++ b/goog_touch_interface.c
@@ -1888,9 +1888,6 @@ static void goog_offload_populate_driver_status_channel(
ds->contents.offload_timestamp = driver_cmd->context_changed.offload_timestamp;
ds->offload_timestamp = driver_cmd->offload_timestamp;
-
- /* Clean up contents after updating the data. */
- gti->context_changed.value = 0;
}
static void goog_offload_populate_stylus_status_channel(
@@ -2120,9 +2117,6 @@ static void goog_offload_set_running(struct goog_touch_interface *gti, bool runn
GOOG_INFO(gti, "Set offload_running=%d, irq_index=%d, input_index=%d\n",
running, gti->irq_index, gti->input_index);
- if (running)
- gti->context_changed.value = U32_MAX;
-
gti->offload.offload_running = running;
goog_update_fw_settings(gti);
}