]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: ralink: Fix mt7620 nd_sd pinmux
authorMathias Kresin <dev@kresin.me>
Mon, 26 Nov 2018 10:25:40 +0000 (11:25 +0100)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:01 +0000 (09:45 -0600)
commit6e0aab82fa56e02865f2afb493d24ca47219f158
tree30577ef65f6399f8addd7c5d2f33066001aa6c04
parent33aa23da92ac026dd2aed21333ee5b10d9bf6d25
MIPS: ralink: Fix mt7620 nd_sd pinmux

BugLink: https://bugs.launchpad.net/bugs/1837161
commit 7d35baa4e9ec4b717bc0e58a39cdb6a1c50f5465 upstream.

In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are
configured as GPIOs. If they are blocked by the sd function, they can't
be used as GPIOs.

Reported-by: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: f576fb6a0700 ("MIPS: ralink: cleanup the soc specific pinmux data")
Patchwork: https://patchwork.linux-mips.org/patch/21220/
Cc: John Crispin <john@phrozen.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/mips/ralink/mt7620.c