Thread (2 messages) 2 messages, 2 authors, 2015-11-18

[PATCH] pinctrl: mediatek: Add get_direction support.

From: Linus Walleij <hidden>
Date: 2015-11-18 13:54:51
Also in: linux-gpio, linux-mediatek, lkml

On Tue, Nov 17, 2015 at 11:17 PM, Hongzhou Yang
[off-list ref] wrote:
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 <redacted>
Patch applied for fixes.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help