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-08-25 01:18:06 -04:00
2008-08-01 13:03:49 -07:00
2008-07-26 12:00:11 -07:00
2008-09-24 00:26:54 +02:00
2008-07-30 09:41:45 -07:00
2008-07-26 12:00:09 -07:00