Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10785439imu; Thu, 6 Dec 2018 06:48:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/U1tEaelZkE6iKZpaUexAyy6I88oHYZKyG1XatXjrsDhWo6cpOnmuexrmyTMcJ60Nf0mAGb X-Received: by 2002:a63:2b01:: with SMTP id r1mr24025080pgr.432.1544107680766; Thu, 06 Dec 2018 06:48:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544107680; cv=none; d=google.com; s=arc-20160816; b=KxVcTbIK/CpwGty1rVUt6tzgEYLB8Uxnvtaa39CoDMnMjkbPmNJKS4gueW8LnXCpeo Li+FHtW6ceMMUBjAGx1Gc61dlcGtAjzvFi3lN4DEhEjEaKRNnKdoWYH9uRBDcuhAVgHL kjtBcpVCpM6HNLzR4aAe76abN7XxDxZU2wLkOvTW47C3Ve8+4UsnYJyIcYBhcFC7YkL7 KcLTg7LIRkJ2L2xI3f9jvo7D2gaQn4t/1wdqqGAPFiiwdTXOQW9EKcIHR7vMdanLACu+ OnnKY2Xv5XCNj/wU20Htc52BGYyAn5+TrcUrb/IfX/RfgHLtQVjfjHsbNMpvC4N2zCMb 2oAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=1HTvj18F2ZEnRoxYcuMkZWeQUFnFxl6M5KPoEMeFNYg=; b=oDC5DfhMnKHaluEqpp+oJAGRPEPb6JrWQa5qvWfZ06AP3Sw1i7BUQr4710O4HWpwi5 J8UWPKKLmeIKqDqNUQPXB07KPJ7VAH9Vc/9pYHPzgENTkFSj1rkrDNSuoKs9M19dh7gR AxiVE7L7NQVS5rzhUY3Xcq6QwS6Vkvr+4cV+AYaW8Je2EInJbuUTn3mw8+TRH79iO2iS eczbMKyq25T3SJnuAFYPPm6hLbT3v1RM4PB/QFoc9AU7xUlpG9DjRU0QEmD/9PqWdrzw 1xnKy96YxXRgVA4az9/NEuqnosOaFdrfnD2h/xTvZCE7Ovx7vV4k35m3yvrUtQbDwKA/ BYJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x0NX4zsF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h96si446489plb.230.2018.12.06.06.47.44; Thu, 06 Dec 2018 06:48:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x0NX4zsF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730868AbeLFOoX (ORCPT + 99 others); Thu, 6 Dec 2018 09:44:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:48976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730860AbeLFOoV (ORCPT ); Thu, 6 Dec 2018 09:44:21 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0727720892; Thu, 6 Dec 2018 14:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544107460; bh=zKNjQJssegW6hQQZkCg0NjTWHgd8NN2zigPFwoWPY2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x0NX4zsFjqqo4zY2KIdyTnf1uUmpt+3u46DhX4W49wHYE7HDCoVbKWesB8/GRf4Ew abX4ozIU6Tf42siyHXkOS5TgUrvo4oc2tZRCxiASA4LK5vduBNJG2d3D96NxdPl38k d0Xblbt+cC7cDQh67myuRB7GjauUAIEOrstnCzAM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kristian Evensen , Mathias Kresin , Paul Burton , John Crispin , Ralf Baechle , James Hogan , linux-mips@linux-mips.org Subject: [PATCH 4.9 015/101] MIPS: ralink: Fix mt7620 nd_sd pinmux Date: Thu, 6 Dec 2018 15:38:14 +0100 Message-Id: <20181206143012.426964716@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181206143011.174892052@linuxfoundation.org> References: <20181206143011.174892052@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mathias Kresin commit 7d35baa4e9ec4b717bc0e58a39cdb6a1c50f5465 upstream. In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are configured as GPIOs. If they are blocked by the sd function, they can't be used as GPIOs. Reported-by: Kristian Evensen Signed-off-by: Mathias Kresin Signed-off-by: Paul Burton Fixes: f576fb6a0700 ("MIPS: ralink: cleanup the soc specific pinmux data") Patchwork: https://patchwork.linux-mips.org/patch/21220/ Cc: John Crispin Cc: Ralf Baechle Cc: James Hogan Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org # v3.18+ Signed-off-by: Greg Kroah-Hartman --- arch/mips/ralink/mt7620.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/ralink/mt7620.c +++ b/arch/mips/ralink/mt7620.c @@ -81,7 +81,7 @@ static struct rt2880_pmx_func pcie_rst_g }; static struct rt2880_pmx_func nd_sd_grp[] = { FUNC("nand", MT7620_GPIO_MODE_NAND, 45, 15), - FUNC("sd", MT7620_GPIO_MODE_SD, 45, 15) + FUNC("sd", MT7620_GPIO_MODE_SD, 47, 13) }; static struct rt2880_pmx_group mt7620a_pinmux_data[] = {