mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
Fix noise test case fail of factory test
Fix noise test case fail of factory test,still go on noise testing when noise data check sum error. Change-Id: I58fb65cb568758c250f7bcbf5ca7f7339ab2ac4a Signed-off-by: Wenge Zhu <zhuwg1@motorola.com> Reviewed-on: https://gerrit.mot.com/2360618 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
5e12356bb3
commit
a69a9b5793
1 changed files with 2 additions and 0 deletions
|
|
@ -1653,7 +1653,9 @@ static int goodix_cache_noisedata(struct goodix_ts_test *ts_test)
|
|||
frame_head = (struct frame_head *)frame_buf;
|
||||
if (checksum_cmp(frame_buf, frame_head->cur_frame_len, CHECKSUM_MODE_U16_LE)) {
|
||||
ts_err("frame body checksum error");
|
||||
#ifndef CONFIG_INPUT_TOUCHSCREEN_MMI
|
||||
return -EINVAL;
|
||||
#endif
|
||||
}
|
||||
cur_ptr = frame_buf;
|
||||
cur_ptr += cd->ic_info.misc.frame_data_head_len;
|
||||
|
|
|
|||
Loading…
Reference in a new issue