sh-pfc: Configure pins as GPIOs at request time when handled externally
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 10 Mar 2013 16:30:25 +0000 (17:30 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 3 Apr 2013 01:30:36 +0000 (10:30 +0900)
commite3c470510babd8ed385f1e09ec616787022b77b1
treee45369241c4a8f4182fe82fe65a0ddb24822eb67
parentceef91dcc0bca0a39c54d2f0071848b6d5c66b88
sh-pfc: Configure pins as GPIOs at request time when handled externally

When a GPIO is handled by a separate driver the pinmux
gpio_set_direction() handler won't be called. The pin mux type then need
to be configured to GPIO at request time.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/core.c
drivers/pinctrl/sh-pfc/pinctrl.c