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

Linus Walleij linus.walleij at linaro.org
Mon Apr 24 22:52:21 AEST 2017


On Fri, Apr 7, 2017 at 2:59 PM, Andrew Jeffery <andrew at aj.id.au> 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 at aj.id.au>

Patch applied.

Yours,
Linus Walleij


More information about the openbmc mailing list