lkml.org 
[lkml]   [2010]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 09/13] cciss: use usleep_range not msleep for small sleeps
    From
    Date
    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);
    }
    }



    \
     
     \ /
      Last update: 2010-10-08 22:03    [W:4.315 / U:0.288 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site