[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbVmjymkcH-Nsy38hKejMt0B=_mFRNHYN1ORsshAJxDog@mail.gmail.com>
Date: Fri, 26 Oct 2012 09:19:59 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Mathias Nyman <mathias.nyman@...ux.intel.com>
Cc: linus.walleij@...ricsson.com, grant.likely@...retlab.ca,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v2] gpiolib: add gpio get direction callback support
On Wed, Oct 24, 2012 at 4:25 PM, Mathias Nyman
<mathias.nyman@...ux.intel.com> wrote:
> Add .get_direction callback to gpio_chip. This allows gpiolib
> to check the current direction of a gpio.
> Used to show the correct gpio direction in sysfs and debug entries.
>
> If callback is not set then gpiolib will work as previously;
> e.g. guessing everything is input until a direction is set.
>
> Signed-off-by: Mathias Nyman <mathias.nyman@...ux.intel.com>
I buy into this concept.
Patch applied.
Unless Grant protests, it stays in.
Thanks for working on this!
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists