Files
linux/drivers/pinctrl
Gregory CLEMENT 6c802ac42f pinctrl: armada-37xx: Fix direction_output() callback behavior
commit 6702abb3bf upstream.

The direction_output callback of the gpio_chip structure is supposed to
set the output direction but also to set the value of the gpio. For the
armada-37xx driver this callback acted as the gpio_set_direction callback
for the pinctrl.

This patch fixes the behavior of the direction_output callback by also
applying the value received as parameter.

Fixes: 5715092a45 ("pinctrl: armada-37xx: Add gpio support")
Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-14 09:52:49 +01:00
..
2017-06-16 11:08:49 +02:00
2017-09-12 11:27:36 +02:00
2017-08-31 15:44:16 +02:00
2017-08-31 15:45:29 +02:00
2014-10-29 09:28:35 +01:00