Bruno Randolf 44ce17192a [MIPS] au1000: Fix gpio direction
When setting the direction of one GPIO pin we have to keep the state of the
other pins, hence use binary OR. Also gpio_direction_output() wants to set an
initial value, so add that too.

This fixes a problem with the USB power switch on mtx-1 boards.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-09-24 00:26:54 +02:00
..
2008-09-24 00:26:54 +02:00
2008-07-30 21:54:43 +01:00
2008-04-28 17:14:32 +01:00
2008-09-21 14:52:56 +02:00
2008-04-28 17:14:25 +01:00
2008-07-15 22:08:52 +02:00