diff options
author | Super Liu <supercjliu@google.com> | 2019-03-22 16:41:29 +0800 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2019-03-22 16:41:29 +0800 |
commit | 93f13c69a57dff4c36adc000502c50654f20823a (patch) | |
tree | 106551a4d2ef796cc8612080a7e975a955ea1860 | |
parent | cec6c5b535525c9c118e249b05d12dfc76828d9d (diff) | |
download | fts_touch-93f13c69a57dff4c36adc000502c50654f20823a.tar.gz |
input: touchscreen: stm: recover heatmap mode for abnormal case
Somehow host data memroy(hdm) mode was modified to non-heatmap mode.
Need to have a one entry to manage the hdm mode for totoal solution later.
Bug: 129088217
Bug: 128954987
Change-Id: I30ae427883baba6035d4cd6232fb78ec0cdc35dc
Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r-- | fts.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3427,6 +3427,7 @@ static bool read_heatmap_raw(struct v4l2_heatmap *v4l2, strength_t *data) if (report.mode != LOCAL_HEATMAP_MODE) { pr_err("Touch IC not in local heatmap mode: %X %X %i", report.prefix, report.mode, report.counter); + heatmap_enable(); return false; } |