Re: [PATCH] pinctrl: ocelot: fix gpio direction

From: Linus Walleij
Date: Mon Mar 26 2018 - 05:05:30 EST


On Thu, Mar 22, 2018 at 1:35 PM, Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxx> wrote:

> Bits have to be cleared in DEVCPU_GCB:GPIO:GPIO_OE for input and set for
> output. ocelot_gpio_set_direction() got it wrong and this went unnoticed
> when the driver was reworked.
>
> Reported-by: Gregory Clement <gregory.clement@xxxxxxxxxxx>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij