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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOjnSCaLY1HM+DLPQ4H6Xd6wfrvvzpJe1DEE2kjX0eNX7AMDBQ@mail.gmail.com>
Date:	Tue, 10 Feb 2015 15:30:56 -0500
From:	Tyler Hall <tylerwhall@...il.com>
To:	Robert Jarzmik <robert.jarzmik@...e.fr>
Cc:	Alexandre Courbot <gnurou@...il.com>,
	Hans Holmberg <hans.holmberg@...el.com>,
	Linus Walleij <linus.walleij@...aro.org>,
	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Howard Cochran <cochran@...mark.com>,
	Daniel Mack <zonque@...il.com>
Subject: Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find
 more than one chip per node

On Tue, Feb 10, 2015 at 12:08 PM, Robert Jarzmik <robert.jarzmik@...e.fr> wrote:
> Alexandre Courbot <gnurou@...il.com> writes:
>
>> On Tue, Feb 10, 2015 at 5:48 PM, Hans Holmberg <hans.holmberg@...el.com> wrote:
>>> The change:
>>>
>>> 7b8792bbdffdff3abda704f89c6a45ea97afdc62
>>> gpiolib: of: Correct error handling in of_get_named_gpiod_flags
>>>
>>> assumed that only one gpio-chip is registred per of-node.
>>> Some drivers register more than one chip per of-node, so
>>> adjust the matching function of_gpiochip_find_and_xlate to
>>> not stop looking for chips if a node-match is found and
>>> the translation fails.
>>>
>>> Signed-off-by: Hans Holmberg <hans.holmberg@...el.com>
>>
>> Acked-by: Alexandre Courbot <acourbot@...dia.com>
> Tested-by: Robert Jarzmik <robert.jarzmik@...e.fr>
>   (on arm pxa architecture)
Tested-by: Tyler Hall <tylerwhall@...il.com>

With gpio-pxa (multiple chips per of node) and on arm-mvebu with
mvebu-gpio (one chip per of-node).
--
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