[ARM] 4095/1: S3C24XX: Fix GPIO set for Bank A
authorBen Dooks <ben-linux@fluff.org>
Tue, 16 Jan 2007 11:33:35 +0000 (12:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Jan 2007 11:59:56 +0000 (11:59 +0000)
commit6c3c5bb3c68b932ece9f92b9d201196d537cb99c
tree9b47da7d0a31f0ecab30a71b4a59cdd463bcbc8d
parent5225cd8079484ed27cd52040e8584616d1ef1e2c
[ARM] 4095/1: S3C24XX: Fix GPIO set for Bank A

GPIO bank A can only be output or a special
function, and the regs-gpio.h header has
mistakenly got this as input or output.

The mistake is carried on into the gpio.c
s3c2410_gpio_cfgpin() call which will set the
wrong value if S3C2410_GPIO_OUTPUT is passed.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/gpio.c
include/asm-arm/arch-s3c2410/regs-gpio.h