Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp800473imu; Tue, 11 Dec 2018 07:47:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/U2J6SOf45RpiidZs762Pnh8q3YzlqcozOxfhcMj9A0X+/IeB4jjt6JjsSOy0OJEuhZBHnz X-Received: by 2002:a63:7cf:: with SMTP id 198mr15303107pgh.129.1544543275136; Tue, 11 Dec 2018 07:47:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544543275; cv=none; d=google.com; s=arc-20160816; b=kAZ49YyAqvXAV98CgHix2i+a9+WhmRE4gm69qRTE/lxhXRcRz+Z1QJhr8qX9jGaom5 MT6i134RBBrlNX8sfzrHsNMqPqTVlqi0xx1/yMzRVLNEThaymSB/XNyOmhkQbXR/++qx h4MsbLEsWMHfU9IR93v3bgr33HfGXgDoAVwPfeA+k9fyZaRyFRerjxTtcmBOoeljaTBt O4Bx26KabgmRHMrhpliRbwjEIZKVhUCInjWWJvrII3tI4lKQJ/ft7Z5XWgJ5Zo1NWHCi G2aW3MHwjR8apXgquI58kDO4/IUKD0UjRcH3Ef7L5Rh+l44/uKBb294d4AM40zzRj4yz iKSg== 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=lsw541YtUjNMtVQqId0VED03mALRIRhQw16nbmpe7SI=; b=pxOslHM+LmHEsO3pfobvvIyxaJ3+H77Zzr/f8kk8+2PSCqto3eTGmZw6cy1B7AG4P7 2OmWyVT73Sl9eIVogI4k5a1/URQXKvTNCNhR1I8ynd3yZFMPkINJba3GteMMDBzgu2ja wPXeNGArpuKbezsTnrYA8bpaOtdfmQp/jb/ycA1iZ5Ul9L1Jk3gGSq8HnRa9HyneSbit QtUnBT4LojDrIWKX3gfSDDSrCh5zK6reCtZDbu8RRYH7MOgnQRvF/3XNLXMLjs5rk/Uc Sxn9h33sxA5QwH7bLDSXaQ6QJ+dGjbJ6Y3FJxfYsyIEqWJ21YQrCisy4Ywq3RqVLqFFI NqAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IGpY3Of6; 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 39si12784973pla.352.2018.12.11.07.47.40; Tue, 11 Dec 2018 07:47:55 -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=IGpY3Of6; 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 S1727156AbeLKPqD (ORCPT + 99 others); Tue, 11 Dec 2018 10:46:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:34384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728199AbeLKPp7 (ORCPT ); Tue, 11 Dec 2018 10:45:59 -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 03A642087F; Tue, 11 Dec 2018 15:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544543158; bh=onUh5dAAW1TsKTGVZb/h3aRcDqtgclDKbd9X56PaTj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IGpY3Of66mp1u2tWnCfIEHejglOYcLDp7u81DHBLyniILReyd+7pJuCm/afNJaRne ttZPIDOBCoaY2EGMGxEnzktyayftj5jBmXvGTXBfAtK0OmGj8Eaeubsyb63f7CPW1w pLC61jzTp7X/9ZEmKDvSIt2U/Pw0eGKbEky9BpDI= 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.4 34/91] MIPS: ralink: Fix mt7620 nd_sd pinmux Date: Tue, 11 Dec 2018 16:40:53 +0100 Message-Id: <20181211151608.546691017@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181211151606.026852373@linuxfoundation.org> References: <20181211151606.026852373@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.4-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[] = {