[PATCH v3] gpio: mxs: implement get_direction callback
Alexandre Courbot
gnurou at gmail.com
Wed Nov 26 23:12:58 PST 2014
On Wed, Nov 19, 2014 at 5:55 PM, 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>
Acked-by: Alexandre Courbot <acourbot at nvidia.com>
More information about the linux-arm-kernel
mailing list