soc: qcom: pil: Change timeout API and reset modem on timeout
Using jiffies for a small timeout could lead to issues as the jiffies count
can increment by one at any time after initial calculation of timeout.
Switch to the more accurate polling read to read Boot FSM status.
In addition, reset the modem if the Boot FSM does timeout. If we
do not reset the modem, then the error path will turn off clocks while
Boot FSM is in hung state and will lead to a NOC error.
Change-Id: Icfcdf44b5762eb30dcd5dfd2432821ceb2f86171
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
Loading
Please register or sign in to comment