diff options
author | Janusz Uzycki <j.uzycki@elproma.com.pl> | 2014-11-19 09:55:22 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-11-28 11:28:22 +0100 |
commit | c8aaa1bf068f76c84111671a7c13ad7b06b21997 (patch) | |
tree | ee05bf63d009085b8752a8c5ce350300e190219f /.gitignore | |
parent | fcb8bd47027a2a8dbf6a0212ae09fc86fbe71627 (diff) |
gpio: mxs: implement get_direction callback
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
On the moment the patch is required to get the patch
"serial: mxs-auart: enable PPS support" working.
It is planned to introduce new mctrl_gpio helpers to avoid
gpiod_get_direction() function.
Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions