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

Commit 27475f8c authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: add retries for hibern8 enter



If hibern8 enter command fails then UFS link state may be unknown which
may result into timeout of all the commands issued after failure.

This change does 2 things (for pre-defined number of retry counts) after
hibern8 enter failure:
1. Recovers the UFS link to active state
2. If link is recovered to active state, tries to put the UFS link in
   hibern8 enter again until retry count expires.

Change-Id: I6ae6d1371126b3b71ba2154182d6b9920e8996f5
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 792eb6a3
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