diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-01-06 14:48:34 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 11:30:56 -0600 |
commit | 60d3f5b068e65d424f3cf5d108fb0747dd156d00 (patch) | |
tree | cdbb635b1b2e403496545508758354c16e451c76 /drivers/scsi | |
parent | 02ec19c82e87e3748d326ca5e15e7ddb18c73476 (diff) | |
download | kernel_goldelico_gta04-60d3f5b068e65d424f3cf5d108fb0747dd156d00.zip kernel_goldelico_gta04-60d3f5b068e65d424f3cf5d108fb0747dd156d00.tar.gz kernel_goldelico_gta04-60d3f5b068e65d424f3cf5d108fb0747dd156d00.tar.bz2 |
[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')
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); } } |