[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdY_jKdh0YcY7fDUx4ccctiEN6wvOsPDa_H=B7k3j9Seuw@mail.gmail.com>
Date: Tue, 25 Jun 2019 15:41:24 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] pinctrl: ocelot: fix gpio direction for pins after 31
On Thu, Jun 20, 2019 at 8:30 PM Alexandre Belloni
<alexandre.belloni@...tlin.com> 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@...tlin.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists