summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2022-01-21 11:14:59 +0800
committerdavidycchen <davidycchen@google.com>2022-01-21 11:14:59 +0800
commit32c71eb4c1ce0d97fbdf29fa999f8af1a02f42d5 (patch)
tree28e131c59c7f41f3a673135da5f2fb982d569678
parent2fc89d19071d97860ce9c2931d3651f79a552750 (diff)
downloadsynaptics_touch-32c71eb4c1ce0d97fbdf29fa999f8af1a02f42d5.tar.gz
synaptics: modify the heatmap report code from 0xc1 to 0xc3
Modify the heatmap report code from 0xc1 to 0xc3 to align with the touch firmware. Bug: 213998822 Test: Touch is workable. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I1113dd68e4f8b930ed87ca40cdf0fb4007838e11
-rw-r--r--syna_tcm2.c2
-rw-r--r--syna_tcm2.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/syna_tcm2.c b/syna_tcm2.c
index 95b71e0..048f024 100644
--- a/syna_tcm2.c
+++ b/syna_tcm2.c
@@ -906,7 +906,7 @@ static irqreturn_t syna_dev_interrupt_thread(int irq, void *data)
/* handling the particular report data */
switch (code) {
case REPORT_HEAT_MAP:
- /* for 'heat map' ($c1) report,
+ /* for 'heat map' ($c3) report,
* report data has been stored at tcm->event_data.buf;
* while, tcm->event_data.data_length is the size of data
*/
diff --git a/syna_tcm2.h b/syna_tcm2.h
index 688138f..2addad4 100644
--- a/syna_tcm2.h
+++ b/syna_tcm2.h
@@ -58,7 +58,7 @@
#define SYNAPTICS_TCM_DRIVER_ID (1 << 0)
#define SYNAPTICS_TCM_DRIVER_VERSION 1
-#define SYNAPTICS_TCM_DRIVER_SUBVER "2.5"
+#define SYNAPTICS_TCM_DRIVER_SUBVER "2.6"
/**
* @section: Driver Configurations
@@ -332,8 +332,8 @@ struct custom_fw_status {
* @brief: Custom Commands, Reports, or Events
*/
enum custom_report_type {
- REPORT_HEAT_MAP = 0xc1,
REPORT_FW_STATUS = 0xc2,
+ REPORT_HEAT_MAP = 0xc3,
};
#if defined(ENABLE_WAKEUP_GESTURE)