scsi: smartpqi: add pqi_wait_for_completion_io
authorKevin Barnett <kevin.barnett@hpe.com>
Wed, 3 May 2017 23:53:24 +0000 (18:53 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:02 +0000 (20:48 -0400)
commit1f37e992ad8015ce33596466b0f36babb495148e
treec4f3a3838220ebd60faeac9fe78c7fbf434e4688
parente1d213bdc3e359c6c5da8ebbc5b2e87b376e8777
scsi: smartpqi: add pqi_wait_for_completion_io

Add check for controller lockup during waits for synchronous
controller commands.

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