summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-01-06 14:48:34 -0600
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 11:30:56 -0600
commit60d3f5b068e65d424f3cf5d108fb0747dd156d00 (patch)
treecdbb635b1b2e403496545508758354c16e451c76 /drivers/scsi/hpsa.c
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>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-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 10076f1868e..ddd729e2ea8 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)
if (!doorbell_value & CFGTBL_ChangeReq)
break;
/* delay and try again */
- msleep(10);
+ usleep_range(10000, 20000);
}
}