Skip to content
Commit e84d1a4f authored by Vitor Massaru Iha's avatar Vitor Massaru Iha Committed by Anas Nashif
Browse files

drivers: gpio: Nios-II: Fix condition on gpio_nios2_config_oput_port()



(flags & GPIO_DIR_IN) is always zero because GPIO_DIR_IN is 0, then
we have to use GPIO_DIR_MASK.

Signed-off-by: default avatarVitor Massaru Iha <vitor@massaru.org>
parent ec6188bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment