commit | 427cabede05cd93a4ad79153679f6aab21dc1bfa | [log] [tgz] |
---|---|---|
author | Chuanhong Guo <gch981213@gmail.com> | Sun Mar 15 20:13:38 2020 +0800 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Wed Mar 25 09:50:45 2020 +0100 |
tree | b1cc51c4b02b42f03e85d9dbad05c1cf43b1fb92 | |
parent | d19d2de61fb131abcd29f7c61d3f168f687bfd6e [diff] |
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: Chuanhong Guo <gch981213@gmail.com> Tested-by: René van Dorst <opensource@vdorst.com> Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>