summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Wang <peter.wang@mediatek.com>2025-09-03 05:44:37 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-09-10 05:46:22 +0300
commitfaac32d4ece30609f1a0930ca0ae951cf6dc1786 (patch)
tree6f10d69aa5801462ce5665f200f9ac17d574b2ce /include
parent5863638598f5e4f64d2f85b03f376383ca1f2ab7 (diff)
downloadlinux-faac32d4ece30609f1a0930ca0ae951cf6dc1786.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/ufs/ufshcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
index 1d3943777584..219935b3a76f 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -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 */