Re: [PATCH 1/2] pinctrl: ocelot: fix gpio direction for pins after 31

From: Linus Walleij
Date: Tue Jun 25 2019 - 09:41:39 EST

On Thu, Jun 20, 2019 at 8:30 PM Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:

> The third argument passed to REG is not the correct one and
> ocelot_gpio_set_direction is not working for pins after 31. Fix that by
> passing the pin number instead of the modulo 32 value.
> Fixes: da801ab56ad8 pinctrl: ocelot: add MSCC Jaguar2 support
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>

Patch applied.

Linus Walleij