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 12/13] hpsa: 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/scsi/hpsa.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
    index a68dba7..c36427d 100644
    --- a/drivers/scsi/hpsa.c
    +++ b/drivers/scsi/hpsa.c
    @@ -3594,7 +3594,7 @@ static void __devinit hpsa_wait_for_mode_change_ack(struct ctlr_info *h)
    if (!doorbell_value & CFGTBL_ChangeReq)
    break;
    /* delay and try again */
    - msleep(10);
    + usleep_range(10000, 20000);
    }
    }



    \
     
     \ /
      Last update: 2010-10-08 22:03    [W:0.037 / U:61.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site