From: Janusz Uzycki Date: Wed, 19 Nov 2014 08:55:22 +0000 (+0100) Subject: gpio: mxs: implement get_direction callback X-Git-Tag: omap-for-v3.19/fixes-rc1~89^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8aaa1bf068f76c84111671a7c13ad7b06b21997;p=pandora-kernel.git 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 Acked-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed