Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 722dccd8 authored by Asutosh Das's avatar Asutosh Das Committed by Gerrit - the friendly Code Review server
Browse files

scsi: ufshcd-qti: Keep the correct device and link state



If the device and link are marked as off, suspend routine wouldn't
turn-off the device and link.
But the regulators would be put to lpm mode.
However, the ufs device is still drawing active mode current.
Thus this leads to a OCP in PMIC.

Hence, don't mark the device and link as off in case of error,
if it doesn't reflect the correct state.

Change-Id: I8d5a738a92a1f339c0500a617f55cb77009356b2
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent 30a50dfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment