mirror-linux/drivers/ufs/core
Peter Wang bf5838132d scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
[ Upstream commit 1a5665fc8d ]

When SSU/enter hibern8 fail in WLUN suspend flow, trigger the error handler
and return busy to break the suspend.  Otherwise the consumer will get
stuck in runtime suspend status.

Fixes: b294ff3e34 ("scsi: ufs: core: Enable power management for wlun")
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20221208072520.26210-1-peter.wang@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:58:23 +01:00
..
Kconfig
Makefile
ufs-debugfs.c
ufs-debugfs.h
ufs-fault-injection.c
ufs-fault-injection.h
ufs-hwmon.c
ufs-sysfs.c scsi: ufs: core: Print UFSHCD capabilities in controller's sysfs node 2022-09-06 22:18:06 -04:00
ufs-sysfs.h
ufs_bsg.c
ufs_bsg.h
ufshcd-crypto.c
ufshcd-crypto.h
ufshcd-priv.h scsi: ufs: core: Remove redundant function definitions from ufshcd.h 2022-09-25 12:50:44 -04:00
ufshcd.c scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery 2023-01-18 11:58:23 +01:00
ufshpb.c scsi: ufs: core: Fix typo in comment 2022-10-22 03:29:32 +00:00
ufshpb.h