summaryrefslogtreecommitdiff
path: root/ft3658/focaltech_core.c
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2022-02-25 07:06:59 +0000
committerMason Wang <masonwang@google.com>2022-02-25 07:06:59 +0000
commit26218102eb40b830febd9c65621bed1ac63a27f2 (patch)
treec032aac95c798ef434796c87ee43a5755dde5e19 /ft3658/focaltech_core.c
parent6be6f76fb88a39d5f86cfaf1f525955ec05c11a2 (diff)
downloadfocaltech_touch-26218102eb40b830febd9c65621bed1ac63a27f2.tar.gz
Revert "touch/focaltech: get into deep sleep mode in AP side."
Revert submission 2152470-p10_touch_fw_v07 Reason for revert: Block other team to release kernel image. Reverted Changes: I18ff63837:touch/focaltech: update major/minor/pressure forma... I4c70235b7:touch/focaltech: get into deep sleep mode in AP si... Change-Id: Iad8200b80b1e9c03720005272b6a843456d1b598
Diffstat (limited to 'ft3658/focaltech_core.c')
-rw-r--r--ft3658/focaltech_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ft3658/focaltech_core.c b/ft3658/focaltech_core.c
index edbb88e..cdf031d 100644
--- a/ft3658/focaltech_core.c
+++ b/ft3658/focaltech_core.c
@@ -2347,10 +2347,12 @@ static int fts_ts_suspend(struct device *dev)
} else {
/* Disable irq */
fts_irq_disable();
+#if !defined(FTS_AOC_GESTURE_EN)
FTS_DEBUG("make TP enter into sleep mode");
ret = fts_write_reg(FTS_REG_POWER_MODE, FTS_REG_POWER_MODE_SLEEP);
if (ret < 0)
FTS_ERROR("set TP to sleep mode fail, ret=%d", ret);
+#endif
if (!ts_data->ic_info.is_incell) {
#if FTS_POWER_SOURCE_CUST_EN