1
0
Fork 0

touch: pt: skipping polling for boot mode exit if already out of boot

Function _pt_poll_for_fw_exit_boot_mode() is not needed to be called if
the controller is already out of boot mode. This function was delaying
resume from wakeup unnecessarly for modes other that boot.
zero-sugar
Michal Koziel 2021-05-04 15:44:07 +02:00 committed by mkemlogic
parent 683461ccfa
commit 74da8008e5
1 changed files with 25 additions and 24 deletions

View File

@ -9213,7 +9213,7 @@ reset:
goto reset;
goto exit;
}
}
cd->startup_status |= STARTUP_STATUS_GET_DESC;
/* FW cannot handle most PIP cmds when it is still in BOOT mode */
@ -9243,6 +9243,7 @@ reset:
}
cd->startup_status |= STARTUP_STATUS_GET_SYS_INFO;
}
}
rc = pt_restore_parameters_(cd);
if (rc)