linux_dsm_epyc7002/drivers/pinctrl/mvebu
Gregory CLEMENT 6702abb3bf pinctrl: armada-37xx: Fix direction_output() callback behavior
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.

Cc: stable@vger.kernel.org
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>
2017-11-29 14:09:23 +01:00
..
Kconfig pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pinctrl-armada-37xx.c pinctrl: armada-37xx: Fix direction_output() callback behavior 2017-11-29 14:09:23 +01:00
pinctrl-armada-38x.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-39x.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-370.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-375.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-armada-ap806.c pinctrl: mvebu: add driver for Armada AP806 pinctrl 2017-06-16 11:22:33 +02:00
pinctrl-armada-cp110.c pinctrl: mvebu: add driver for Armada CP110 pinctrl 2017-06-16 11:23:36 +02:00
pinctrl-armada-xp.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-dove.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-kirkwood.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00
pinctrl-mvebu.c pinctrl: mvebu: remove the offset property for regmap 2017-06-16 11:19:50 +02:00
pinctrl-mvebu.h pinctrl: mvebu: remove the offset property for regmap 2017-06-16 11:19:50 +02:00
pinctrl-orion.c pinctrl: mvebu: make bool drivers explicitly non-modular 2017-02-13 14:25:49 +01:00