Author: nbd
Date: 2015-08-02 17:30:35 +0200 (Sun, 02 Aug 2015)
New Revision: 46547

Modified:
   
trunk/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
   
trunk/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
Log:
ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_select

Reported-by: Steve Brown <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>

Modified: 
trunk/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
===================================================================
--- 
trunk/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
  2015-08-02 15:08:27 UTC (rev 46546)
+++ 
trunk/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
  2015-08-02 15:30:35 UTC (rev 46547)
@@ -14,7 +14,7 @@
 +              gpio_count = AR934X_GPIO_COUNT;
 +              reg_base = AR934X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca953x()) {
-+              reg_base = QCA953X_GPIO_COUNT;
++              gpio_count = QCA953X_GPIO_COUNT;
 +              reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca955x()) {
 +              gpio_count = QCA955X_GPIO_COUNT;

Modified: 
trunk/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
===================================================================
--- 
trunk/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
   2015-08-02 15:08:27 UTC (rev 46546)
+++ 
trunk/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
   2015-08-02 15:30:35 UTC (rev 46547)
@@ -14,7 +14,7 @@
 +              gpio_count = AR934X_GPIO_COUNT;
 +              reg_base = AR934X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca953x()) {
-+              reg_base = QCA953X_GPIO_COUNT;
++              gpio_count = QCA953X_GPIO_COUNT;
 +              reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
 +      } else if (soc_is_qca955x()) {
 +              gpio_count = QCA955X_GPIO_COUNT;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to