mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Turn off the output log of the LSI touch FW raw data.
TP: Turn off the output log of the LSI touch FW raw data to prevent overwriting the boot log. Change-Id: Ia1e1ae06b51c9bf1f54855632658b3af04f77248 Reviewed-on: https://gerrit.mot.com/1734547 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jichao Zou <zoujc@motorola.com> Reviewed-by: Konstantin Makariev <kmakariev@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
b1529438d9
commit
fc347dd140
2 changed files with 11 additions and 3 deletions
|
|
@ -68,6 +68,14 @@
|
|||
#define input_raw_info(f, d, fmt, args...) dev_info(d, fmt, ##args)
|
||||
#endif
|
||||
|
||||
#ifndef input_raw_frame_info
|
||||
#ifdef INPUT_RAW_FRAME_INFO
|
||||
#define input_raw_frame_info(f, d, fmt, args...) dev_info(d, fmt, ##args)
|
||||
#else
|
||||
#define input_raw_frame_info(f, d, fmt, args...) dev_dbg(d, fmt, ##args)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define SEC_TS_I2C_NAME "sec_ts"
|
||||
#define SEC_TS_DEVICE_NAME "SEC_TS"
|
||||
|
||||
|
|
|
|||
|
|
@ -778,7 +778,7 @@ static void sec_ts_print_frame(struct sec_ts_data *ts, short *min, short *max)
|
|||
strncat(pStr, pTmp, lsize);
|
||||
}
|
||||
|
||||
input_raw_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
input_raw_frame_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
memset(pStr, 0x0, lsize);
|
||||
snprintf(pTmp, sizeof(pTmp), " +");
|
||||
strncat(pStr, pTmp, lsize);
|
||||
|
|
@ -788,7 +788,7 @@ static void sec_ts_print_frame(struct sec_ts_data *ts, short *min, short *max)
|
|||
strncat(pStr, pTmp, lsize);
|
||||
}
|
||||
|
||||
input_raw_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
input_raw_frame_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
|
||||
for (i = 0; i < ts->rx_count; i++) {
|
||||
memset(pStr, 0x0, lsize);
|
||||
|
|
@ -806,7 +806,7 @@ static void sec_ts_print_frame(struct sec_ts_data *ts, short *min, short *max)
|
|||
|
||||
strncat(pStr, pTmp, lsize);
|
||||
}
|
||||
input_raw_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
input_raw_frame_info(true, &ts->client->dev, "%s\n", pStr);
|
||||
}
|
||||
kfree(pStr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue