scsi: qla2xxx: shutdown chip if reset fail
authorQuinn Tran <quinn.tran@cavium.com>
Tue, 11 Sep 2018 17:18:21 +0000 (10:18 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 00:28:10 +0000 (20:28 -0400)
commit1e4ac5d6fe0a4af17e4b6251b884485832bf75a3
tree68728cf11f1d28474bcb26d3e2f4fb342f3e18cc
parent861d483dcd1822b360ed186801c889a7da83e80d
scsi: qla2xxx: shutdown chip if reset fail

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>
drivers/scsi/qla2xxx/qla_init.c