diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-09-09 09:20:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-09-09 09:20:50 +0000 |
commit | ae253edfbee3ada91ff5eda5e1c5dbb43a734700 (patch) | |
tree | 0b77f0903e402cbef21d8e967c34898746c71412 /tools/lzma | |
parent | 8dc12e90968482e35a25b4bfe8443586838f208c (diff) | |
download | upstream-ae253edfbee3ada91ff5eda5e1c5dbb43a734700.tar.gz upstream-ae253edfbee3ada91ff5eda5e1c5dbb43a734700.tar.bz2 upstream-ae253edfbee3ada91ff5eda5e1c5dbb43a734700.zip |
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>
SVN-Revision: 12561
Diffstat (limited to 'tools/lzma')
0 files changed, 0 insertions, 0 deletions