From patchwork Thu Jul 30 07:09:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 502003 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BEFA51409BB for ; Thu, 30 Jul 2015 17:10:00 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 468ED280BD4; Thu, 30 Jul 2015 09:09:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 535F628050F for ; Thu, 30 Jul 2015 09:09:06 +0200 (CEST) X-policyd-weight: using cached result; rate: -7.6 Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 30 Jul 2015 09:09:05 +0200 (CEST) Received: from sven-desktop.home.narfation.org (x5d849971.dyn.telefonica.de [93.132.153.113]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 44C29110102; Thu, 30 Jul 2015 09:09:38 +0200 (CEST) From: Sven Eckelmann To: openwrt-devel@lists.openwrt.org Date: Thu, 30 Jul 2015 09:09:28 +0200 Message-Id: <1438240168-25009-1-git-send-email-sven@open-mesh.com> X-Mailer: git-send-email 2.5.0 Cc: Sven Eckelmann Subject: [OpenWrt-Devel] [PATCH] ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_select X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Reported-by: Steve Brown Signed-off-by: Sven Eckelmann --- .../739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch | 2 +- .../739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch index af828b04bffd..24ce7d83c56d 100644 --- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch +++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch @@ -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; diff --git a/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch index af828b04bffd..24ce7d83c56d 100644 --- a/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch +++ b/target/linux/ar71xx/patches-4.1/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch @@ -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;