[PATCH v3] gpio: mxs: implement get_direction callback

Linus Walleij linus.walleij at linaro.org
Thu Nov 27 06:22:10 PST 2014


On Wed, Nov 19, 2014 at 9:55 AM, Janusz Uzycki <j.uzycki at elproma.com.pl> wrote:

> gpiolib's gpiod_get_direction() function returns the EINVAL error
> if .get_direction callback is not defined.
> The patch implements the callback for mxs chip which is useful
> for debugging.
>
> Inspired by arch/arm/mach-at91/gpio.c
>
> Signed-off-by: Janusz Uzycki <j.uzycki at elproma.com.pl>

This v3 version applied with Alexandre's ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list