diff options
author | Hongzhou Yang <hongzhou.yang@mediatek.com> | 2015-11-17 14:17:13 -0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-11-18 14:55:07 +0100 |
commit | f97c2309667b501c03fcc1c8b3595f5ca0a1ff01 (patch) | |
tree | a04629dfda33de8567da5c7210388d13be61e575 /.mailmap | |
parent | c3dd25cc78150d4db8c7a1842884553202d1fd43 (diff) | |
download | blackbird-op-linux-f97c2309667b501c03fcc1c8b3595f5ca0a1ff01.tar.gz blackbird-op-linux-f97c2309667b501c03fcc1c8b3595f5ca0a1ff01.zip |
pinctrl: mediatek: Add get_direction support.
Since Linux gpio framework return 0 for output, 1 for input.
But HW use 0 stands for input, and 1 stands for output.
So use negative to correct it.
And gpio_chip.get is used to get input value, no need to get
output value, so removing it.
Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions