MIPS: BCM63xx: Initialize gpio_out_low & out_high to current value at boot.
authorMaxime Bizon <mbizon@freebox.fr>
Sat, 30 Jan 2010 17:34:58 +0000 (18:34 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 Apr 2010 16:26:19 +0000 (17:26 +0100)
commit9538ca636f2fa28ae1514327328e2869f0215981
tree61e0c7a208cf9519e887d415d0832038be03f94f
parente23a90eb736b18c16fd6d59e8c1fa6a16ac3bc0b
MIPS: BCM63xx: Initialize gpio_out_low & out_high to current value at boot.

To avoid a glitch during GPIO initialisation read GPIO output register
values left by the firmware.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/903/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/gpio.c