Skip to content
Snippets Groups Projects
Commit ae253edf authored by Florian Fainelli's avatar Florian Fainelli
Browse files

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: default avatarBruno Randolf <br1@einfach.org>

SVN-Revision: 12561
parent 8dc12e90
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment