commit | 60d3f5b068e65d424f3cf5d108fb0747dd156d00 | [log] [tgz] |
---|---|---|
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | Thu Jan 06 14:48:34 2011 -0600 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 24 11:30:56 2011 -0600 |
tree | cdbb635b1b2e403496545508758354c16e451c76 | |
parent | 02ec19c82e87e3748d326ca5e15e7ddb18c73476 [diff] [blame] |
[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>
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 10076f1..ddd729e 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c
@@ -3571,7 +3571,7 @@ if (!doorbell_value & CFGTBL_ChangeReq) break; /* delay and try again */ - msleep(10); + usleep_range(10000, 20000); } }