lkml.org 
[lkml]   [2013]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 05/26] mfd: ab8500-gpadc: Change to mdelay for greater resolution
    On Mon, 28 Jan 2013, Samuel Ortiz wrote:

    > Hi Lee, Jonas,
    >
    > On Tue, Jan 15, 2013 at 12:55:45PM +0000, Lee Jones wrote:
    > > From: Jonas Aaberg <jonas.aberg@stericsson.com>
    > >
    > > The resolution of msleep is related to HZ, so with HZ set to
    > > 100 any msleep of less than 10ms will become ~10ms.
    > usleep_range would be more appropriate, sleeping should be preferred over
    > spinning.

    I believe this patch was written before usleep_range() was around. This
    is addressed in a latter patch. Please allow this one in for a)
    historical reasons (trying to keep the development history) and b) to
    prevent any conflicts when we do reach the fixup patch.

    --
    Lee Jones
    Linaro ST-Ericsson Landing Team Lead
    Linaro.org │ Open source software for ARM SoCs
    Follow Linaro: Facebook | Twitter | Blog
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-01-28 10:21    [W:3.653 / U:0.296 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site