linux/drivers/sh/pfc
Paul Mundt 16d74ebeb1 sh: pfc: Fix up GPIO mux type reconfig case.
Some drivers need to switch pin states between GPIO and pin function at
runtime, which was inadvertently broken in the pinctrl driver for GPIOs
being bound to a specific direction.

This fixes up the request path to ensure that previously configured GPIOs
don't cause us to inadvertently error out with an unsupported mux on
reconfig, which in practice is primarily aimed at trapping pull-up/down
users that have yet to be implemented under the new API.

Fixes up regressions in the TPU PWM driver, amongst others.

Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-09-25 11:51:05 +09:00
..
Kconfig sh: pfc: pin config get/set support. 2012-07-20 16:39:09 +09:00
Makefile
core.c sh: pfc: Error out on pinctrl init resolution failure. 2012-07-17 15:18:37 +09:00
gpio.c sh: pfc: Make pr_fmt consistent across pfc drivers. 2012-07-11 17:21:04 +09:00
pinctrl.c sh: pfc: Fix up GPIO mux type reconfig case. 2012-09-25 11:51:05 +09:00