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

Commit 792eb6a3 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

scsi: ufs: fix error recovery after the hibern8 exit failure



Hibern8 exit can be called from 3 different context:
	- ufshcd_hibern8_exit_work
	- ufshcd_ungate_work
	- runtime/system resume.

If hibern8 exit fails for some reason then we try to bring the link to
active state by link startup but this recovery mechanism results into
deadlock or errors from first 2 context listed above. This change fixes
the recovery by adding proper error handling mechanism.

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