scsi: ufs-msm: avoid full UFS initialization on system resume
As part of UFS power management, UFS link would be put in hibernate and UFS device would be put in SLEEP mode as part of runtime/system suspend callback. But when system goes into suspend with VDD minimization, UFS PHY states are being reset which means UFS link hibernate exit command on system resume would fail. There are 2 ways to workaround this issue, one is to reinitialize the entire UFS link on system resume but it has very high latency of ~150ms whereas other acceptable workaround is to save the UFS PHY state information before system goes into suspend and restore this state information during system resume but before executing the hibernate exit command. This change implements the 2nd workaround. Change-Id: I061871321b9c0e6386188355858217dcedd4f20a Signed-off-by:Dolev Raviv <draviv@codeaurora.org> Signed-off-by:
Subhash Jadavani <subhashj@codeaurora.org>
Loading
Please register or sign in to comment