]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commit0ebffe39f8ec8b5b126d9505852a396371014555
tree391f32e9f7d995cca5b4d54b559291676ac618e9
parent7f6e2d992d4cb2f537ece62d221e466df1fead1c
[ARM] 4232/1: AT91: Generic GPIO bug

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>
arch/arm/mach-at91/gpio.c