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

Linus Walleij <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAD++jLnku_B6bQobBZ4FR1WFXW0i60YDTiZYrObzeHaTyee3Sg@mail.gmail.com>
On Fri, Jul 24, 2026 at 6:43 PM Alex Tran <[email protected]> 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 <[email protected]>

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

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.