diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2018-09-11 10:18:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 09:19:13 +0100 |
commit | 68ae7d06bf1188be7a5ec272e136f2168b767a29 (patch) | |
tree | 5bd5eae73a245132252e1434fc48e6680cd4e042 /drivers/scsi/qla2xxx | |
parent | c97c9cfb4d80f8cea22feab370d80d7b403e878b (diff) | |
download | linux-stable-68ae7d06bf1188be7a5ec272e136f2168b767a29.tar.gz linux-stable-68ae7d06bf1188be7a5ec272e136f2168b767a29.tar.bz2 linux-stable-68ae7d06bf1188be7a5ec272e136f2168b767a29.zip |
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>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 0d86044e69eb..286c6a0cdbaf 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6684,7 +6684,7 @@ qla2x00_abort_isp(scsi_qla_host_t *vha) * The next call disables the board * completely. */ - ha->isp_ops->reset_adapter(vha); + qla2x00_abort_isp_cleanup(vha); vha->flags.online = 0; clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags); |