OSDN Git Service

gpio: tqmx86: Set proper output level for direction_output
authorAxel Lin <axel.lin@ingics.com>
Mon, 18 Feb 2019 03:23:16 +0000 (11:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Feb 2019 12:19:52 +0000 (13:19 +0100)
commit18fadd6abd5aeb2ddd6c20eb6a6045e377bb9f94
tree38e4347d39b7f65bc550dcf543cb759d2cb86e46
parent567cbf07caf2083a413f7ddf07970b04cc3b38da
gpio: tqmx86: Set proper output level for direction_output

For output-only gpios, direction_output should set proper output level.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Fixes: b868db94a6a7 ("gpio: tqmx86: Add GPIO from for this IO controller")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tqmx86.c