lkml.org 
[lkml]   [2007]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 2.6.20-rc2] gpio_direction_output() needs an initial value
    On Thu, 1 Mar 2007 18:25:09 -0800
    David Brownell <david-b@pacbell.net> wrote:

    > It's been pointed out that output GPIOs should have an initial value, to
    > avoid signal glitching ... among other things, it can be some time before
    > a driver is ready. This patch corrects that oversight, fixing
    >
    > - documentation
    > - platforms supporting the GPIO interface
    > - users of that call (just one for now, others are pending)
    >
    > Note that most platforms are clear about the hardware letting the output
    > value be set before the pin direction is changed, but the s3c241x docs
    > are vague on that topic ... so those chips might not avoid the glitches.
    >
    > Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

    Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

    Thanks, Dave.

    Haavard
    -
    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: 2007-03-02 10:29    [W:0.024 / U:29.748 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site