Re: [PATCH v3] gpio: gpio-by-pinctrl: Apply initial value in direction output wrapper

From: Linus Walleij

Date: Tue Aug 11 2026 - 02:59:58 EST


On Mon, Aug 10, 2026 at 8:59 PM Alex Tran <alex.tran@xxxxxxxxxxxxxxxx> wrote:

> Apply the requested initial value via the existing gpio set
> wrapper, so that the pin is not left at its previous level.
> Afterwards, configure the gpio pin as output.
>
> Fixes: 7671f4949a6c ("gpio: gpio-by-pinctrl: add pinctrl based generic GPIO driver")
> Signed-off-by: Alex Tran <alex.tran@xxxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij