cciss: use usleep_range not msleep for small sleeps
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Fri, 22 Oct 2010 19:21:22 +0000 (14:21 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 23 Oct 2010 16:45:09 +0000 (18:45 +0200)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c

index 9e761b994b4c0e84f6e22e687052fe2f67f9fdca..c792a6080d519d392dc80bc5c842de7dbe85e01d 100644 (file)
@@ -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);
        }
 }