From: andrew.vasquez@qlogic.com Date: Sat, 14 Jan 2006 01:05:05 +0000 (-0800) Subject: [SCSI] qla2xxx: Use msleep() as delay during ISP polling. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03ab2eabed74708c0c74163723007e8e72244219;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [SCSI] qla2xxx: Use msleep() as delay during ISP polling. Mailbox commands are polled for completion during ISP initialization. During potentially 'long' mailbox commands (i.e. fabric login), we really don't want a busy-wait delay to potentially trigger a (benign) soft-lockup BUG(). Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 9746cd1e664b..f90e68de0a86 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -196,7 +196,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp) /* Check for pending interrupts. */ qla2x00_poll(ha); - udelay(10); /* v4.27 */ + msleep(10); } /* while */ }