From: florian Date: Tue, 9 Sep 2008 09:20:50 +0000 (+0000) Subject: au1000: fix gpio output X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/365590ad71a126eaf9a2ba6a679c37b1b7032d76?ds=sidebyside;hp=365590ad71a126eaf9a2ba6a679c37b1b7032d76 au1000: fix gpio output when setting the output state 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. (#3974) Signed-off-by: Bruno Randolf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12561 3c298f89-4303-0410-b956-a3cf2f4a3e73 ---