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:20:06 +0100 |
commit | a5a10f7800ed4d9920ee523da84ddfd9e45968fb (patch) | |
tree | 52f55b0ff875cf9aed81b87f41219ec8edc78ae6 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | e0e489aa5bd0416e996513c8c414d189b0f7e8fc (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 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions