linux-stable/drivers/scsi/hisi_sas
Xiang Chen f467666504 scsi: hisi_sas: Call sas_unregister_ha() to roll back if .hw_init() fails
Function sas_unregister_ha() needs to be called to roll back if
hisi_hba->hw->hw_init() fails in function hisi_sas_probe() or
hisi_sas_v3_probe(). Make that change.

Link: https://lore.kernel.org/r/1617709711-195853-4-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-04-12 23:21:26 -04:00
..
hisi_sas.h scsi: hisi_sas: Delete some unused callbacks 2021-04-12 23:21:26 -04:00
hisi_sas_main.c scsi: hisi_sas: Call sas_unregister_ha() to roll back if .hw_init() fails 2021-04-12 23:21:26 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Switch back to original libsas event notifiers 2021-01-22 21:31:09 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe() 2021-01-26 23:02:11 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Call sas_unregister_ha() to roll back if .hw_init() fails 2021-04-12 23:21:26 -04:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00