Re: [PATCH] pinctrl: armada-37xx: Fix direction_output() callback behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 14, 2017 at 5:51 PM, Gregory CLEMENT
<gregory.clement@xxxxxxxxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxx
> Fixes: 5715092a458c ("pinctrl: armada-37xx: Add gpio support")
> Reported-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxxxxxxxxx>

Patch applied for fixes.

Sorry for taking so long, merge window you know.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux