Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node
From: Linus Walleij
Date: Wed Feb 18 2015 - 12:20:16 EST
On Tue, Feb 10, 2015 at 9:48 AM, Hans Holmberg <hans.holmberg@xxxxxxxxx> 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@xxxxxxxxx>
OK this patch applied for stable and pushed for testing
in -next.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/