Re: [PATCH] gpiolib: tighten up ACPI legacy gpio lookups

From: Linus Walleij
Date: Tue Nov 17 2015 - 05:57:17 EST


On Thu, Nov 5, 2015 at 8:38 PM, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> We should not fall back to the legacy unnamed gpio lookup style if the
> driver requests gpios with different names, because we'll give out the same
> gpio twice. Let's keep track of the names that were used for the device and
> only do the fallback for the first name used.
>
> Also disable fallback to _CRS gpios if ACPI device has DT-like
> properties or driver-supplied gpio mappings.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Looking for a newer version of this I think, also would like
Mika's and/or Rafael's ACKs.

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/