[ARM] 4561/1: i.MX/MX1 GPIO parenthes omission and input setup fix
authorPavel Pisa <ppisa@pikron.com>
Wed, 29 Aug 2007 22:23:38 +0000 (23:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 30 Aug 2007 09:14:25 +0000 (10:14 +0100)
commita98b38b83db3d377ede6b72cebe7ed2dc4127766
tree991ca82cc039b0d9bf521bcc8cbabf398b2aa76c
parentfd51bcc5dc4073b18308f25846aa3b421fa3c42e
[ARM] 4561/1: i.MX/MX1 GPIO parenthes omission and input setup fix

During GPIO testing on PiMX1 board there has been revealed
problem with some pins input functions. The GIUS bit has
to be set for inputs to work reliably too. It is surprising
that input worked on some inputs with incorrect setup before.
DR is not mandatory, but it ensures stable constant level
on internal traces.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-imx/generic.c