mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
scsi: ufs: host: mediatek: Enhance recovery on hibernation exit failure
Improve the recovery process for hibernation exit failures. Trigger the error handler and break the suspend operation to ensure effective recovery from hibernation errors. Activate the error handling mechanism by ufshcd_force_error_recovery and scheduling the error handler work. Signed-off-by: Peter Wang <peter.wang@mediatek.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
5863638598
commit
faac32d4ec
@@ -1508,5 +1508,6 @@ int __ufshcd_write_ee_control(struct ufs_hba *hba, u32 ee_ctrl_mask);
|
||||
int ufshcd_write_ee_control(struct ufs_hba *hba);
|
||||
int ufshcd_update_ee_control(struct ufs_hba *hba, u16 *mask,
|
||||
const u16 *other_mask, u16 set, u16 clr);
|
||||
void ufshcd_force_error_recovery(struct ufs_hba *hba);
|
||||
|
||||
#endif /* End of Header */
|
||||
|
||||
Reference in New Issue
Block a user