diff options
author | Wendly Li <wendlyli@google.com> | 2023-03-10 09:49:47 +0000 |
---|---|---|
committer | Wendly Li <wendlyli@google.com> | 2023-03-10 10:25:50 +0000 |
commit | ee621fa7537cea0a6efafce7ac42f15867366b8d (patch) | |
tree | 2bec73f7af4c4b8662176c454989b9429291532d /goodix_ts_proc.c | |
parent | 43c3130d20f6553cd581c5489046f435de09d7c4 (diff) | |
download | goodix_touch-ee621fa7537cea0a6efafce7ac42f15867366b8d.tar.gz |
Revert "touch/goodix: Workaround auto test failures"
This reverts commit 55885688ac01231e64da7534826ca86689090551.
Bug: 245485508
Test: echo auto_test > /proc/goodix_ts/driver_test
Change-Id: I007dbb7f020dcd6b58f08f8da36b6cc2a3ff8b4a
Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_proc.c')
-rw-r--r-- | goodix_ts_proc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/goodix_ts_proc.c b/goodix_ts_proc.c index 3b2019c..d57c6e0 100644 --- a/goodix_ts_proc.c +++ b/goodix_ts_proc.c @@ -3487,10 +3487,7 @@ static ssize_t driver_test_write( } if (!strncmp(p, CMD_AUTO_TEST, strlen(CMD_AUTO_TEST))) { - /* - * b/245485508: WA for self-test. - */ - raw_data_cnt = 1; + raw_data_cnt = 16; noise_data_cnt = 1; rbuf = kzalloc(SHORT_SIZE, GFP_KERNEL); if (!rbuf) { @@ -4152,10 +4149,7 @@ int driver_test_selftest(char* buf) rbuf = NULL; } - /* - * b/245485508: WA for self-test. - */ - raw_data_cnt = 1; + raw_data_cnt = 16; noise_data_cnt = 1; rbuf = kzalloc(SHORT_SIZE, GFP_KERNEL); if (rbuf == NULL) { |