diff options
author | 2015-11-17 14:17:13 -0800 | |
---|---|---|
committer | 2015-11-18 14:55:07 +0100 | |
commit | f97c2309667b501c03fcc1c8b3595f5ca0a1ff01 (patch) | |
tree | a04629dfda33de8567da5c7210388d13be61e575 /net/unix/af_unix.c | |
parent | pinctrl: fix qcom ssbi drivers for 64-bit compilation (diff) | |
download | wireguard-linux-f97c2309667b501c03fcc1c8b3595f5ca0a1ff01.tar.xz wireguard-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions