Re: [PATCH] regulator: da9211: fix obtaining "enable" GPIO

From: Linus Walleij
Date: Thu Sep 12 2019 - 05:24:01 EST


On Tue, Sep 10, 2019 at 6:02 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:

> This fixes 11da04af0d3b, as devm_gpiod_get_from_of_node() does
> not do translation "con-id" -> "con-id-gpios" that our bindings expects,
> and therefore it was wrong to change connection ID to be simply "enable"
> when moving to using devm_gpiod_get_from_of_node().
>
> Fixes: 11da04af0d3b ("regulator: da9211: Pass descriptors instead of GPIO numbers")
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Mark: please tag both of these for stable.

Yours,
Linus Walleij