diff options
author | Super Liu <supercjliu@google.com> | 2019-03-20 12:01:19 +0800 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2019-03-20 12:01:19 +0800 |
commit | 2bc106b8f96e9e216c5c10a1c149068a6e46d732 (patch) | |
tree | 8dd022e94b638bad6fcf7155950c9d6af15d6d44 | |
parent | d792f9b2e019d330cd0bc310d5ee8dcee1bdb8df (diff) | |
download | fts_touch-2bc106b8f96e9e216c5c10a1c149068a6e46d732.tar.gz |
input: touchscreen: stm: remove spam logs for touch heatmap
For high frame rate heatmap reading, driver disable the report filter.
This will cause unnecessary check at that time.
Bug: 121266276
Change-Id: I00ea92f7a506911f538e2598a51c4d6038668236
-rw-r--r-- | fts.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3440,8 +3440,9 @@ static bool read_heatmap_raw(struct v4l2_heatmap *v4l2, strength_t *data) * this could indicate slowness in the interrupt * handler. */ - pr_warn("Heatmap frame has stale counter value %i", - counter); + if (info->mf_state != FTS_MF_UNFILTERED) + pr_warn("Heatmap frame has stale counter value %i", + counter); } counter = report.counter; num_elements = report.size_x * report.size_y; |