lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ