Skip to contentSkip to conversation

arch: mips: ralink: fix typo in pinctrl lna_g_func

PATCH Superseded John Crispin 2 participants 2 messages Feb 20, 2017 – Feb 23, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

John Crispin

author maintainer
#0 lore raw

PATCH 1/1 arch: mips: ralink: fix typo in pinctrl lna_g_func

There is a copy & paste error in the definition of the 5GHz LNA pinmux.

---
 arch/mips/ralink/rt3883.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/ralink/rt3883.c +1 -1
index c4ffd43..f9025a0 100644
@@ -35,7 +35,7 @@
 static struct rt2880_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 5) };
 static struct rt2880_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 2) };
 static struct rt2880_pmx_func lna_a_func[] = { FUNC("lna a", 0, 32, 3) };
-static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna a", 0, 35, 3) };
+static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna g", 0, 35, 3) };
 static struct rt2880_pmx_func pci_func[] = {
 	FUNC("pci-dev", 0, 40, 32),
 	FUNC("pci-host2", 1, 40, 32),
Signature · 1 line
1.7.10.4
#1 lore raw

Hi John,

Quoted 4 lines · John Crispin

There is a copy & paste error in the definition of the 5GHz LNA pinmux.

Can I have your signed off too please.

Quoted 9 lines
---
 arch/mips/ralink/rt3883.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/ralink/rt3883.c +0 -0
index c4ffd43..f9025a0 100644

arch/mips/ralink/rt3883.c line 41

Quoted 8 lines
arch/mips/ralink/rt3883.c +1 -1
@@ -35,7 +35,7 @@
 static struct rt2880_pmx_func jtag_func[] = { FUNC("jtag", 0, 17, 5) };
 static struct rt2880_pmx_func mdio_func[] = { FUNC("mdio", 0, 22, 2) };
 static struct rt2880_pmx_func lna_a_func[] = { FUNC("lna a", 0, 32, 3) };
-static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna a", 0, 35, 3) };
+static struct rt2880_pmx_func lna_g_func[] = { FUNC("lna g", 0, 35, 3) };
 static struct rt2880_pmx_func pci_func[] = {
 	FUNC("pci-dev", 0, 40, 32),
 	FUNC("pci-host2", 1, 40, 32),

There is at least 1 other typo in this file from that same commit:
static struct rt2880_pmx_func ge2_func[] = { FUNC("ge1", 0, 84, 12) };

Care to fix that one too?

Thanks
James