]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: lp87565: Set proper output level and direction for direction_output
authorAxel Lin <axel.lin@ingics.com>
Mon, 3 Jul 2017 08:28:12 +0000 (16:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 31 Jul 2017 13:26:57 +0000 (15:26 +0200)
commit593dd2374d9fae4f2067cbb9c898e86e0519f3bd
tree1b6934ea31376c4fc3170a4d510608a4aac8c82a
parent4f329df7c3a4d302ffa9a25d1e411cb7ed991d76
gpio: lp87565: Set proper output level and direction for direction_output

The value argument of lp87565_gpio_direction_output() means output level
rather than gpio direction.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lp87565.c