[PATCH] pinctrl: mediatek: moore: implement gpio_chip::get_direction()

Bartosz Golaszewski brgl at kernel.org
Mon Apr 27 03:32:52 PDT 2026


On Sun, Apr 19, 2026 at 11:25 PM Linus Walleij <linusw at kernel.org> wrote:
>
> On Mon, Apr 13, 2026 at 6:59 PM Frank Wunderlich
> <frank.wunderlich at linux.dev> wrote:
> > Am 13. April 2026 um 10:01 schrieb "Linus Walleij" <linusw at kernel.org mailto:linusw at kernel.org?to=%22Linus%20Walleij%22%20%3Clinusw%40kernel.org%3E >:
> > >
> > > On Fri, Apr 10, 2026 at 11:24 AM Frank Wunderlich
> > > <frank-w at public-files.de> wrote:
> > >
> > > >
> > > > Gesendet: Freitag, 10. April 2026 um 09:09
> > > >  Von: "Bartosz Golaszewski" <bartosz.golaszewski at oss.qualcomm.com>
> > > >  An: "Frank Wunderlich" <linux at fw-web.de>, "Sean Wang" <sean.wang at kernel.org>, "Linus Walleij" <linusw at kernel.org>, "Matthias Brugger" <matthias.bgg at gmail.com>, "AngeloGioacchino Del Regno" <angelogioacchino.delregno at collabora.com>, "Bartosz Golaszewski" <brgl at kernel.org>
> > > >  CC: linux-mediatek at lists.infradead.org, linux-gpio at vger.kernel.org, linux-kernel at vger.kernel.org, linux-arm-kernel at lists.infradead.org, "Bartosz Golaszewski" <bartosz.golaszewski at oss.qualcomm.com>
> > > >  Betreff: [PATCH] pinctrl: mediatek: moore: implement gpio_chip::get_direction()
> > > >
> > > >  If the gpio_chip::get_direction() callback is not implemented by the GPIO
> > > >  controller driver, GPIOLIB emits a warning.
> > > >
> > > >  Implement get_direction() for the GPIO part of pinctrl-moore.
> > > >
> > > >  Fixes: 471e998c0e31 ("gpiolib: remove redundant callback check")
> > > >  Fixes: e623c4303ed1 ("gpiolib: sanitize the return value of gpio_chip::get_direction()")
> > > >  Reported-by: Frank Wunderlich <linux at fw-web.de>
> > > >
> > > >  please use the email i used for SoB in my linked patch (closes link below), the other email i use only for sending patches due to mail provider limitation.
> > > >
> > > I can't fix this up because the closes link isn't working right now.
> > > Is it the same
> > > as the one this mail came from frank-w at public-files.de?
> >
> > yes, closes-link works for me
>
> Fixed up and applied. Will be going in as fix for v7.1.
>
> Yours,
> Linus Walleij
>

Hi Linus!

It seems this one got lost somewhere along the way? I don't see it in
mainline nor next.

Bart



More information about the Linux-mediatek mailing list