aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-01-06 15:48:34 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 12:30:56 -0500
commit60d3f5b068e65d424f3cf5d108fb0747dd156d00 (patch)
treecdbb635b1b2e403496545508758354c16e451c76
parent02ec19c82e87e3748d326ca5e15e7ddb18c73476 (diff)
[SCSI] hpsa: use usleep_range not msleep for small sleeps
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 10076f1868e0..ddd729e2ea89 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3571,7 +3571,7 @@ static void __devinit hpsa_wait_for_mode_change_ack(struct ctlr_info *h)
3571 if (!doorbell_value & CFGTBL_ChangeReq) 3571 if (!doorbell_value & CFGTBL_ChangeReq)
3572 break; 3572 break;
3573 /* delay and try again */ 3573 /* delay and try again */
3574 msleep(10); 3574 usleep_range(10000, 20000);
3575 } 3575 }
3576} 3576}
3577 3577