diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-09 09:20:50 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-09 09:20:50 +0000 |
commit | 365590ad71a126eaf9a2ba6a679c37b1b7032d76 (patch) | |
tree | e63ecf3fc5161859dc15356e96d13aaaa8ef91b0 /target/linux/generic-2.6/files-2.6.26/drivers | |
parent | bc8c3990b64d8ee22943278782e73b02da8c0c65 (diff) |
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 <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12561 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.26/drivers')
0 files changed, 0 insertions, 0 deletions