[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>
This commit is contained in:
parent
02ec19c82e
commit
60d3f5b068
1 changed files with 1 additions and 1 deletions
|
@ -3571,7 +3571,7 @@ static void __devinit hpsa_wait_for_mode_change_ack(struct ctlr_info *h)
|
||||||
if (!doorbell_value & CFGTBL_ChangeReq)
|
if (!doorbell_value & CFGTBL_ChangeReq)
|
||||||
break;
|
break;
|
||||||
/* delay and try again */
|
/* delay and try again */
|
||||||
msleep(10);
|
usleep_range(10000, 20000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue