1
0
Fork 0

touch: pt: reduce debug level for PIP < 1.11 not supporting polling wait

Devices implementing PIP < 1.11 do not support polling wait. This is expected, hence the debug warning level has been reduced from DL_ERROR to DL_WARN.
zero-sugar
Michal Koziel 2021-04-13 07:59:14 +02:00 committed by mkemlogic
parent af49deb502
commit 003f35d627
1 changed files with 1 additions and 2 deletions

View File

@ -6189,8 +6189,7 @@ static int _pt_poll_for_fw_exit_boot_mode(struct pt_core_data *cd, int timeout,
* timeout to make it clear in kmsg if non polling was done.
*/
*actual_wait = PT_FW_EXIT_BOOT_MODE_TIMEOUT + 1;
pt_debug(cd->dev, DL_ERROR,
"%s: PIP %d.%d no support for ext STATUS, sleep %d\n",
pt_debug(cd->dev, DL_WARN, "%s: PIP %d.%d no support for ext STATUS, sleep %d\n",
__func__,
cd->sysinfo.ttdata.pip_ver_major,
cd->sysinfo.ttdata.pip_ver_minor, *actual_wait);