diff options
author | Super Liu <supercjliu@google.com> | 2022-03-21 12:08:39 +0800 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2022-03-21 14:28:31 +0800 |
commit | 0a488d6d542aad3562ef4ec4ea54a232456c48c8 (patch) | |
tree | 5bf85da588efc1ee534bc33846ddfcc0cd8607dc | |
parent | 994ee370f52d750c98bc9af929e8c1c663d2b741 (diff) | |
download | sec_touch-0a488d6d542aad3562ef4ec4ea54a232456c48c8.tar.gz |
touch/sec: update FW grip with offload filter_grip setting.android-t-beta-2_r0.3android-msm-redbull-4.19-t-beta-2
Bug: 224880464
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I68701cc40abf74bb3759fe0df9e73827755e30ad
-rw-r--r-- | sec_ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2250,7 +2250,7 @@ static void sec_ts_offload_set_running(struct sec_ts_data *ts, bool running) { if (ts->offload.offload_running != running) { ts->offload.offload_running = running; - if (running && ts->offload.config.filter_grip == 1) { + if (running && ts->offload.config.filter_grip) { pr_info("%s: disabling FW grip.\n", __func__); sec_ts_enable_grip(ts, false); } else { @@ -4994,7 +4994,7 @@ static void sec_ts_resume_work(struct work_struct *work) input_info(true, &ts->client->dev, "applying touch_offload settings.\n"); - if (!ts->offload.config.filter_grip) + if (ts->offload.config.filter_grip) sec_ts_enable_grip(ts, false); } #endif |