summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-gemini.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2017-11-14 17:51:50 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-11-29 14:09:23 +0100
commit6702abb3bf2394f250af0ee04070227bb5dda788 (patch)
tree7f1a0ac42f4d849fc086eed04c20bcbf74f25397 /drivers/pinctrl/pinctrl-gemini.c
parent4bd6683da2e64590bdc27ecf7e61ad8376861768 (diff)
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: 5715092a458c ("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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-gemini.c')
0 files changed, 0 insertions, 0 deletions