summaryrefslogtreecommitdiff
path: root/ft3658/focaltech_core.c
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2022-02-25 09:54:33 +0000
committerMason Wang <masonwang@google.com>2022-02-26 15:57:52 +0800
commitd85e6785800bccab90b172c8a4ac08541c9890ce (patch)
treeda62a97c41d4887f14daf5475459db8d5bb572c6 /ft3658/focaltech_core.c
parentb3deab2689ae324c2831f78adb9b79a640590e7d (diff)
downloadfocaltech_touch-d85e6785800bccab90b172c8a4ac08541c9890ce.tar.gz
Revert "Revert "touch/focaltech: get into deep sleep mode in AP ..."
Revert submission 2161664-revert-2152470-p10_touch_fw_v07-FPJVWXSAED Reason for revert: Still need to fix original issue. Reverted Changes: Ic940f8bc3:Revert "touch/focaltech: update major/minor/pressu... Iad8200b80:Revert "touch/focaltech: get into deep sleep mode ... Change-Id: I8a0f28688a3c3faef3e6e083ecada3adc1b8c4de
Diffstat (limited to 'ft3658/focaltech_core.c')
-rw-r--r--ft3658/focaltech_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ft3658/focaltech_core.c b/ft3658/focaltech_core.c
index cdf031d..edbb88e 100644
--- a/ft3658/focaltech_core.c
+++ b/ft3658/focaltech_core.c
@@ -2347,12 +2347,10 @@ 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