scsi: smartpqi: update timeout on admin commands
authorKevin Barnett <kevin.barnett@hpe.com>
Wed, 3 May 2017 23:55:13 +0000 (18:55 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:04 +0000 (20:48 -0400)
commit13bede676b98d595a43d36a34e1835b686d0d140
tree2bcd33201f0fcf7904a3726d0d7e9e790411c43e
parentf5b63206255f68116c117565ab703c531c5ce400
scsi: smartpqi: update timeout on admin commands

Increase the timeout on admin commands from 3 seconds to 60
seconds and added a check for controller crash in the loop
where the driver polls for admin command completion.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Signed-off-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/smartpqi/smartpqi_init.c