diff options
author | Yaniv Gardi <[email protected]> | 2016-02-01 15:02:45 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-02-23 21:27:02 -0500 |
commit | 53c12d0ef6fcb77aaaa4640f3e17ffe2fd9cffa0 (patch) | |
tree | 3f02dd78de5403937b3c09dff482d893db49fcb3 /drivers/fpga/fpga-mgr.c | |
parent | 87d0b4a6da338464efdb9d20b94572ff60ee1f95 (diff) |
scsi: ufs: fix error recovery after the hibern8 exit failure
Hibern8 exit can be called from 3 different contexts:
- 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.
Reviewed-by: Gilad Broner <[email protected]>
Reviewed-by: Dolev Raviv <[email protected]>
Signed-off-by: Subhash Jadavani <[email protected]>
Signed-off-by: Yaniv Gardi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions