lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 29 Nov 2017 14:10:08 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Gregory CLEMENT <gregory.clement@...e-electrons.com>
Cc:     linux-gpio@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Jason Cooper <jason@...edaemon.net>,
        Andrew Lunn <andrew@...n.ch>,
        Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
        Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        Antoine Tenart <antoine.tenart@...e-electrons.com>,
        Miquèl Raynal <miquel.raynal@...e-electrons.com>,
        Nadav Haklai <nadavh@...vell.com>,
        Victor Gu <xigu@...vell.com>, Marcin Wojtas <mw@...ihalf.com>,
        Wilson Ding <dingwei@...vell.com>,
        Hua Jing <jinghua@...vell.com>,
        Neta Zur Hershkovits <neta@...vell.com>,
        stable <stable@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: armada-37xx: Fix direction_output() callback behavior

On Tue, Nov 14, 2017 at 5:51 PM, Gregory CLEMENT
<gregory.clement@...e-electrons.com> 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@...r.kernel.org
> Fixes: 5715092a458c ("pinctrl: armada-37xx: Add gpio support")
> Reported-by: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>

Patch applied for fixes.

Sorry for taking so long, merge window you know.

Yours,
Linus Walleij

Powered by blists - more mailing lists