[PATCH for-4.4 09/16] MIPS: ralink: fix MT7628 wled_an pinmux gpio

From: Amit Pundir
Date: Fri Jun 30 2017 - 01:47:20 EST


From: Ãlvaro FernÃndez Rojas <noltari@xxxxxxxxx>

commit 07b50db6e685172a41b9978aebffb2438166d9b6 upstream.

Signed-off-by: Ãlvaro FernÃndez Rojas <noltari@xxxxxxxxx>
Cc: john@xxxxxxxxxxx
Cc: linux-mips@xxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Patchwork: https://patchwork.linux-mips.org/patch/13307/
Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Signed-off-by: Amit Pundir <amit.pundir@xxxxxxxxxx>
---
arch/mips/ralink/mt7620.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c
index 37cfc7d3c185..48d6349fd9d7 100644
--- a/arch/mips/ralink/mt7620.c
+++ b/arch/mips/ralink/mt7620.c
@@ -196,10 +196,10 @@ static struct rt2880_pmx_func wled_kn_grp_mt7628[] = {
};

static struct rt2880_pmx_func wled_an_grp_mt7628[] = {
- FUNC("rsvd", 3, 35, 1),
- FUNC("rsvd", 2, 35, 1),
- FUNC("gpio", 1, 35, 1),
- FUNC("wled_an", 0, 35, 1),
+ FUNC("rsvd", 3, 44, 1),
+ FUNC("rsvd", 2, 44, 1),
+ FUNC("gpio", 1, 44, 1),
+ FUNC("wled_an", 0, 44, 1),
};

#define MT7628_GPIO_MODE_MASK 0x3
--
2.7.4