From: Bruno Randolf Date: Tue, 23 Sep 2008 17:48:36 +0000 (+0200) Subject: [MIPS] au1000: Fix gpio direction X-Git-Tag: v2.6.27-rc8~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44ce17192a01218b242e032237e1d2e52ef50429;p=pandora-kernel.git [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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed