Commit 03ab2eabed74708c0c74163723007e8e72244219

Authored by andrew.vasquez@qlogic.com
Committed by James Bottomley
1 parent e038a1be22

[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 <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/scsi/qla2xxx/qla_mbx.c
... ... @@ -196,7 +196,7 @@
196 196 /* Check for pending interrupts. */
197 197 qla2x00_poll(ha);
198 198  
199   - udelay(10); /* v4.27 */
  199 + msleep(10);
200 200 } /* while */
201 201 }
202 202