Messages in this thread Patch in this message | | | Subject | [PATCH 09/13] cciss: use usleep_range not msleep for small sleeps | From | "Stephen M. Cameron" <> | Date | Fri, 08 Oct 2010 15:06:47 -0500 |
| |
From: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> --- 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 08cbee8..7d2959c 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -3769,7 +3769,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); } }
| |