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)
commitfa8f6d0619fa6775083fff24061e46e7039a8493
tree1b6934ea31376c4fc3170a4d510608a4aac8c82a
parent727fd697da83bf78f8734940d0c394b6c7c3067f
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