diff options
author | Peter Wang <peter.wang@mediatek.com> | 2022-12-08 08:25:20 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-14 04:15:37 +0100 |
commit | 1a5665fc8d7a000671ebd3fe69c6f9acf1e0dcd9 (patch) | |
tree | 90f64f696bd6dd56e65be0f0e9142a240f890b21 /include/scsi | |
parent | scsi: scsi_debug: Delete unreachable code in inquiry_vpd_b0() (diff) | |
download | linux-1a5665fc8d7a000671ebd3fe69c6f9acf1e0dcd9.tar.xz linux-1a5665fc8d7a000671ebd3fe69c6f9acf1e0dcd9.zip |
scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
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: b294ff3e3449 ("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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions