input: touchscreen: gsl3673 remove report point in suspend

Signed-off-by: York Zheng <zyk@rock-chips.com>
Change-Id: Ieaca0cc4a3e0ec54fb954c4c14da91e255be6f01
This commit is contained in:
York Zheng
2020-12-14 10:09:35 +00:00
committed by Tao Huang
parent 833022e6e7
commit 7fa2df0cf1

View File

@@ -89,7 +89,7 @@ static char chip_type;
#define SCREEN_MAX_Y 1536
#endif
#define REPORT_DATA_ANDROID_4_0
#define SLEEP_CLEAR_POINT
//#define SLEEP_CLEAR_POINT
#ifdef FILTER_POINT
#define FILTER_MAX 9
@@ -1045,7 +1045,9 @@ error_unreg_device:
static int gsl_ts_suspend(struct device *dev)
{
struct gsl_ts *ts = dev_get_drvdata(dev);
#ifdef SLEEP_CLEAR_POINT
int i;
#endif
if (!ts->flag_activated)
return 0;
@@ -1081,7 +1083,9 @@ static int gsl_ts_suspend(struct device *dev)
static int gsl_ts_resume(struct device *dev)
{
struct gsl_ts *ts = dev_get_drvdata(dev);
#ifdef SLEEP_CLEAR_POINT
int i;
#endif
int rc;
if (ts->flag_activated)