Re: [PATCH] pinctrl: tegra: Use correct offset for pin group

From: Linus Walleij
Date: Mon Oct 25 2021 - 19:28:24 EST


On Mon, Oct 25, 2021 at 1:10 PM Prathamesh Shete <pshete@xxxxxxxxxx> wrote:

> Function tegra_pinctrl_gpio_request_enable() and
> tegra_pinctrl_gpio_disable_free() uses pin offset instead
> of group offset, causing the driver to use wrong offset
> to enable gpio.
>
> Add a helper function tegra_pinctrl_get_group() to parse the
> pin group and determine correct offset.
>
> Signed-off-by: Kartik K <kkartik@xxxxxxxxxx>
> Signed-off-by: Prathamesh Shete <pshete@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij