Skip to content
Commit ca0da637 authored by Kyle Yan's avatar Kyle Yan
Browse files

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: default avatarKyle Yan <kyan@codeaurora.org>
parent 84a47e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment