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
parent
683461ccfa
commit
74da8008e5
|
@ -9213,7 +9213,7 @@ reset:
|
||||||
goto reset;
|
goto reset;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
cd->startup_status |= STARTUP_STATUS_GET_DESC;
|
cd->startup_status |= STARTUP_STATUS_GET_DESC;
|
||||||
|
|
||||||
/* FW cannot handle most PIP cmds when it is still in BOOT mode */
|
/* 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;
|
cd->startup_status |= STARTUP_STATUS_GET_SYS_INFO;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rc = pt_restore_parameters_(cd);
|
rc = pt_restore_parameters_(cd);
|
||||||
if (rc)
|
if (rc)
|
||||||
|
|
Loading…
Reference in New Issue