scsi: hpsa: update reset handler
authorDon Brace <don.brace@microsemi.com>
Thu, 4 May 2017 22:50:58 +0000 (17:50 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:00 +0000 (20:48 -0400)
commit8516a2db9aec293d983a729c23488acd688fece4
tree06d473ca2b1d786634088879d1a549e711bef7d9
parent5ac517b8a2c592a3a6e3928de7b868c52b200444
scsi: hpsa: update reset handler

Use the return from TUR as a check for the device state.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.tell@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c