]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap3: gpio pin config bugfixes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 27 Feb 2009 22:46:08 +0000 (22:46 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 27 Feb 2009 22:48:10 +0000 (14:48 -0800)
commita81ceea04499e24a6397ecd47aa7316b5d165e82
tree91aa7cf488a2d3f35e793678cd6597b610cda6d5
parentb69837a59461d6f7ca557d978d02734bcdb60f35
omap3: gpio pin config bugfixes

Bugfix several GPIO mux configurations which didn't enable the
input drivers, but weren't named as e.g. ..._GPIO141_OUT.
These bugs were added quite recently, for OMAP3 EVM support.

To help avoid such bugs in the future, update the comment to
clarify the rule:  always use PIN_INPUT, unless the name uses
that name suffix, to be crystal-clear on the signal's use as
output-only.

(Also adds GPIO-63, for the EVM's MMC-1 writeprotect switch.
Presumably that works right...)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
arch/arm/plat-omap/include/mach/mux.h