]> Git Repo - linux.git/commitdiff
cciss: use usleep_range not msleep for small sleeps
authorStephen M. Cameron <[email protected]>
Fri, 22 Oct 2010 19:21:22 +0000 (14:21 -0500)
committerJens Axboe <[email protected]>
Sat, 23 Oct 2010 16:45:09 +0000 (18:45 +0200)
Signed-off-by: Stephen M. Cameron <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
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);
        }
 }
 
This page took 0.063519 seconds and 4 git commands to generate.