0083-MIPS-ralink-fix-MT7628-wled_an-pinmux-gpio.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 07b50db6e685172a41b9978aebffb2438166d9b6 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
  3. Date: Thu, 19 May 2016 22:07:35 +0200
  4. Subject: [PATCH] MIPS: ralink: fix MT7628 wled_an pinmux gpio
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  9. Cc: john@phrozen.org
  10. Cc: linux-mips@linux-mips.org
  11. Cc: linux-kernel@vger.kernel.org
  12. Patchwork: https://patchwork.linux-mips.org/patch/13307/
  13. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  14. ---
  15. arch/mips/ralink/mt7620.c | 8 ++++----
  16. 1 file changed, 4 insertions(+), 4 deletions(-)
  17. --- a/arch/mips/ralink/mt7620.c
  18. +++ b/arch/mips/ralink/mt7620.c
  19. @@ -196,10 +196,10 @@ static struct rt2880_pmx_func wled_kn_gr
  20. };
  21. static struct rt2880_pmx_func wled_an_grp_mt7628[] = {
  22. - FUNC("rsvd", 3, 35, 1),
  23. - FUNC("rsvd", 2, 35, 1),
  24. - FUNC("gpio", 1, 35, 1),
  25. - FUNC("wled_an", 0, 35, 1),
  26. + FUNC("rsvd", 3, 44, 1),
  27. + FUNC("rsvd", 2, 44, 1),
  28. + FUNC("gpio", 1, 44, 1),
  29. + FUNC("wled_an", 0, 44, 1),
  30. };
  31. #define MT7628_GPIO_MODE_MASK 0x3