diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-10-22 21:21:22 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-10-23 18:45:09 +0200 |
commit | 332c2f80a894d349bfb95fae00daf74477d4afcd (patch) | |
tree | e7d6ae2f818b0e75e8440046fbeaa5c2ea46b457 /drivers/block | |
parent | cciss: limit commands allocated on reset_devices (diff) | |
download | linux-332c2f80a894d349bfb95fae00daf74477d4afcd.tar.xz linux-332c2f80a894d349bfb95fae00daf74477d4afcd.zip |
cciss: use usleep_range not msleep for small sleeps
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 9e761b994b4c..c792a6080d51 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -3785,7 +3785,7 @@ static void __devinit cciss_wait_for_mode_change_ack(ctlr_info_t *h) for (i = 0; i < MAX_CONFIG_WAIT; i++) { if (!(readl(h->vaddr + SA5_DOORBELL) & CFGTBL_ChangeReq)) break; - msleep(10); + usleep_range(10000, 20000); } } |