ARM: sa11x0: assabet: avoid glitching GPIOs when setting outputs
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 24 Jan 2012 09:23:19 +0000 (09:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 15:34:12 +0000 (15:34 +0000)
commit4f592e6d1a6711b2ef140b5c76342dbe2506c8cb
tree5e650d8f630797d4740383e72ac0c119612334de
parent7186fb9fd79d6209fe7aea9dbe06b629c61b389e
ARM: sa11x0: assabet: avoid glitching GPIOs when setting outputs

Avoid glitching the GPIO signals during initialization, which can
have undesirable effects.  Ensure that the desired pin state is set
before we change the GPIO pin direction to be an output.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/assabet.c