From a1022377ecaf4b348eacb889e5c2f1eee6b7397a Mon Sep 17 00:00:00 2001 From: "eric.luo" Date: Sat, 12 Apr 2025 18:58:29 +0800 Subject: [PATCH] Add Touch driver log Change-Id: I9f1f227af737d16c1220160cab17b6077e2b1376 --- .../opensource/touch-drivers/focaltech/focaltech_ex_fun.c | 1 + .../opensource/touch-drivers/focaltech/focaltech_spi_v2.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_ex_fun.c b/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_ex_fun.c index ed0e011a0dc4..443fc20d0e52 100755 --- a/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_ex_fun.c +++ b/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_ex_fun.c @@ -509,6 +509,7 @@ static ssize_t fts_pocket_mode_store( } mutex_lock(&ts_data->input_dev->mutex); + FTS_ERROR("pocket mode info:pm_suspend = %d\n", ts_data->pm_suspend); if (ts_data->pm_suspend) __pm_stay_awake(ts_data->p_ws); diff --git a/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_spi_v2.c b/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_spi_v2.c index 54881c53d378..25be0e71c189 100755 --- a/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_spi_v2.c +++ b/vendor/qcom/opensource/touch-drivers/focaltech/focaltech_spi_v2.c @@ -553,7 +553,7 @@ static int fts_pm_suspend(struct device *dev) { struct fts_ts_data *ts_data = dev_get_drvdata(dev); - FTS_INFO("system enters into pm_suspend"); + FTS_ERROR("system enters into pm_suspend"); ts_data->pm_suspend = true; reinit_completion(&ts_data->pm_completion); return 0; @@ -563,7 +563,7 @@ static int fts_pm_resume(struct device *dev) { struct fts_ts_data *ts_data = dev_get_drvdata(dev); - FTS_INFO("system resumes from pm_suspend"); + FTS_ERROR("system resumes from pm_suspend"); ts_data->pm_suspend = false; complete(&ts_data->pm_completion); return 0;