Re: [PATCH v2 4/4] gpio: aspeed: Add open-source and open-drain support

From: Linus Walleij
Date: Mon Apr 24 2017 - 08:52:33 EST


On Fri, Apr 7, 2017 at 2:59 PM, Andrew Jeffery <andrew@xxxxxxxx> wrote:

> As per the datasheet, manage the IO and value states to implement
> open-source/open-drain, but do this by falling back to gpiolib's
> emulation.
>
> This commit simply makes the behaviour explicit for clarity, rather than
> relying on the implicit return of -ENOTSUPP to trigger the emulation.
>
> Signed-off-by: Andrew Jeffery <andrew@xxxxxxxx>

Patch applied.

Yours,
Linus Walleij