[ARM] 4232/1: AT91: Generic GPIO bug
authorAndrew Victor <andrew@sanpeople.com>
Thu, 22 Feb 2007 08:38:52 +0000 (09:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Feb 2007 14:53:32 +0000 (14:53 +0000)
The new gpio_direction_input() and gpio_direction_output() functions
were both enabling output mode.  When configuring a GPIO for input mode,
you need to program the ODR (Output Disable Register).

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found