Re: [PATCH] pinctrl: renesas: rza1: normalize return value of gpio_get

From: Dmitry Torokhov

Date: Tue Mar 10 2026 - 02:16:49 EST


On Tue, Feb 24, 2026 at 10:04:15AM +0100, Linus Walleij wrote:
> On Wed, Feb 18, 2026 at 9:58 PM Dmitry Torokhov
> <dmitry.torokhov@xxxxxxxxx> wrote:
>
> > The GPIO get callback is expected to return 0 or 1 (or a negative error
> > code). Ensure that the value returned by rza1_gpio_get() is normalized
> > to the [0, 1] range.
> >
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
>
> Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
>
> I expect Geert will pick this up, else tell me & I'll queue it.

Geert, will you pick it up please?

Thanks.

--
Dmitry