0103-MIPS-ralink-Fix-typo-in-mt7628-pinmux-function 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. From 05a67cc258e75ac9758e6f13d26337b8be51162a Mon Sep 17 00:00:00 2001
  2. From: Mathias Kresin <[email protected]>
  3. Date: Thu, 11 May 2017 08:11:15 +0200
  4. Subject: [PATCH 2/2] MIPS: ralink: Fix typo in mt7628 pinmux function
  5. There is a typo inside the pinmux setup code. The function is called
  6. refclk and not reclk.
  7. Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support")
  8. Signed-off-by: Mathias Kresin <[email protected]>
  9. Acked-by: John Crispin <[email protected]>
  10. Cc: Ralf Baechle <[email protected]>
  11. Cc: [email protected]
  12. Cc: <[email protected]> # 3.19+
  13. Patchwork: https://patchwork.linux-mips.org/patch/16047/
  14. Signed-off-by: James Hogan <[email protected]>
  15. ---
  16. arch/mips/ralink/mt7620.c | 2 +-
  17. 1 file changed, 1 insertion(+), 1 deletion(-)
  18. --- a/arch/mips/ralink/mt7620.c
  19. +++ b/arch/mips/ralink/mt7620.c
  20. @@ -141,7 +141,7 @@ static struct rt2880_pmx_func i2c_grp_mt
  21. FUNC("i2c", 0, 4, 2),
  22. };
  23. -static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 37, 1) };
  24. +static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("refclk", 0, 37, 1) };
  25. static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 36, 1) };
  26. static struct rt2880_pmx_func wdt_grp_mt7628[] = { FUNC("wdt", 0, 38, 1) };
  27. static struct rt2880_pmx_func spi_grp_mt7628[] = { FUNC("spi", 0, 7, 4) };