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

From: Linus Walleij

Date: Sat Jul 25 2026 - 10:01:26 EST


On Fri, Jul 24, 2026 at 6:43 PM Alex Tran <alex.tran@xxxxxxxxxxxxxxxx> wrote:

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

OMG that's an important semantic fix actually, thanks for
finding this Alex!!

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij