]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: ufs: host: mediatek: Enhance recovery on hibernation exit failure
authorPeter Wang <peter.wang@mediatek.com>
Wed, 3 Sep 2025 02:44:37 +0000 (10:44 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 10 Sep 2025 02:46:22 +0000 (22:46 -0400)
commitfaac32d4ece30609f1a0930ca0ae951cf6dc1786
tree6f10d69aa5801462ce5665f200f9ac17d574b2ce
parent5863638598f5e4f64d2f85b03f376383ca1f2ab7
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>
drivers/ufs/core/ufshcd.c
drivers/ufs/host/ufs-mediatek.c
include/ufs/ufshcd.h