summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci
diff options
context:
space:
mode:
authorStanley Chu <stanley.chu@mediatek.com>2019-09-18 12:20:38 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-09-23 23:09:42 -0400
commitf51913eef23f74c3bd07899dc7f1ed6df9e521d8 (patch)
tree70399be71d89ff5703e6f82be27acfda955c9341 /drivers/scsi/isci
parentc9c53749375ccce0191f89b86732e642f914bd82 (diff)
scsi: ufs: skip shutdown if hba is not powered
In some cases, hba may go through shutdown flow without successful initialization and then make system hang. For example, if ufshcd_change_power_mode() gets error and leads to ufshcd_hba_exit() to release resources of the host, future shutdown flow may hang the system since the host register will be accessed in unpowered state. To solve this issue, simply add checking to skip shutdown for above kind of situation. Link: https://lore.kernel.org/r/1568780438-28753-1-git-send-email-stanley.chu@mediatek.com Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Acked-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci')
0 files changed, 0 insertions, 0 deletions