diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-10-22 15:21:22 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-10-23 12:45:09 -0400 |
commit | 332c2f80a894d349bfb95fae00daf74477d4afcd (patch) | |
tree | e7d6ae2f818b0e75e8440046fbeaa5c2ea46b457 /drivers/block/cciss.c | |
parent | 186fb9cf6a1154bc9b071adfd72fcf256285eb26 (diff) |
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/cciss.c')
-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) | |||
3785 | for (i = 0; i < MAX_CONFIG_WAIT; i++) { | 3785 | for (i = 0; i < MAX_CONFIG_WAIT; i++) { |
3786 | if (!(readl(h->vaddr + SA5_DOORBELL) & CFGTBL_ChangeReq)) | 3786 | if (!(readl(h->vaddr + SA5_DOORBELL) & CFGTBL_ChangeReq)) |
3787 | break; | 3787 | break; |
3788 | msleep(10); | 3788 | usleep_range(10000, 20000); |
3789 | } | 3789 | } |
3790 | } | 3790 | } |
3791 | 3791 | ||