diff options
author | Patrick Williams <alpawi@amazon.com> | 2019-10-01 10:51:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:17:42 +0100 |
commit | 2b9a35e61261c6fa9d15967a8fec9c36efc6ceab (patch) | |
tree | bfd8cc36de8db0188ebdc24cfe500a88b7a7778b /drivers/net/xen-netback/interface.c | |
parent | 135230fc32ebad7186ed49da8845db1d61e5881f (diff) |
pinctrl: armada-37xx: swap polarity on LED group
commit b835d6953009dc350d61402a854b5a7178d8c615 upstream.
The configuration registers for the LED group have inverted
polarity, which puts the GPIO into open-drain state when used in
GPIO mode. Switch to '0' for GPIO and '1' for LED modes.
Fixes: 87466ccd9401 ("pinctrl: armada-37xx: Add pin controller support for Armada 37xx")
Signed-off-by: Patrick Williams <alpawi@amazon.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191001155154.99710-1-alpawi@amazon.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions