scsi: smartpqi: increase fw status register read timeout
authorMahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Tue, 18 Dec 2018 23:39:01 +0000 (17:39 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 20 Dec 2018 03:27:52 +0000 (22:27 -0500)
commit65111785acccb836ec75263b03b0e33f21e74f47
tree1786d4d3757b00326e689cbe7b33268d120194e0
parentf7cb8ac6e776158fab003d8dc6b7f564f005f502
scsi: smartpqi: increase fw status register read timeout

Problem:
 - during the driver initialization, driver will poll fw
   for KERNEL_UP in a 30 seconds timeout.

 - if the firmware is not ready after 30 seconds,
   driver will not be loaded.

Fix:
 - change timeout from 30 seconds to 3 minutes.

Reported-by: Feng Li <lifeng1519@gmail.com>
Reviewed-by: Ajish Koshy <ajish.koshy@microsemi.com>
Reviewed-by: Murthy Bhat <Murthy.Bhat@microsemi.com>
Reviewed-by: Dave Carroll <david.carroll@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@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_sis.c