scsi: qla2xxx: shutdown chip if reset fail
authorQuinn Tran <quinn.tran@cavium.com>
Tue, 11 Sep 2018 17:18:21 +0000 (10:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:19:13 +0000 (09:19 +0100)
commit68ae7d06bf1188be7a5ec272e136f2168b767a29
tree5bd5eae73a245132252e1434fc48e6680cd4e042
parentc97c9cfb4d80f8cea22feab370d80d7b403e878b
scsi: qla2xxx: shutdown chip if reset fail

commit 1e4ac5d6fe0a4af17e4b6251b884485832bf75a3 upstream.

If chip unable to fully initialize, use full shutdown sequence to clear out
any stale FW state.

Fixes: e315cd28b9ef ("[SCSI] qla2xxx: Code changes for qla data structure refactoring")
Cc: stable@vger.kernel.org #4.10
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_init.c