Skip to content
Commit 427cabed authored by Chuanhong Guo's avatar Chuanhong Guo Committed by Bartosz Golaszewski
Browse files

gpio: mt7621: add BGPIOF_NO_SET_ON_INPUT flag



DSET/DCLR registers only works on output pins. Add corresponding
BGPIOF_NO_SET_ON_INPUT flag to bgpio_init call to fix direction_out
behavior.

Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
Tested-by: default avatarRené van Dorst <opensource@vdorst.com>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent d19d2de6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment