Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1942420ybv; Fri, 14 Feb 2020 08:36:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzdHYVf/M9bp+uuQ3tqxl1AV4qJquauPZ3XA8OlI0QkTMsuXBybOC3easTs+fIrT/8W29Jo X-Received: by 2002:a9d:6f07:: with SMTP id n7mr2906403otq.112.1581698204565; Fri, 14 Feb 2020 08:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581698204; cv=none; d=google.com; s=arc-20160816; b=TBws8mUlUcm9VT27nTvJvsMC6UG7ghm5gCLj+YFhZbF7R56GKOrDol+Qpz6Mp7TtIP 2IVGWuDcjy7XSf4tScXNDN4ggJlxan5ORPfXm3+CPRx3r0qy3Faq61Ef7R4G7PAvlYsv v5bOD8Vwr3K2M7Zc6nw0fyMuyX8WRBJshkkWCYyVTRHmBga5whNPnN54nqlXP/em+oJW +Eo4I8i1pUC3jmaC25R2Iex68nUPh7csMzPLG30JsFuj7DPtimDhT8xQh4xi1HnPJd/n VW7cvthjZKcGvCPIXFpWcCyoEDE8QROyx2e4GgxBson/zT63jQAn5ypx1UWM/1+0aF8u LZ5A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=012WpVcUPYqMmJNL3tZ/v/GvC1qVUJI6zKnfzNG9e6c=; b=Ci6QgHaYP6D4k9lqL0oespdZeKqxBuLwfjH72cSurtq/UQuydUQs8wLlMb1XhPMSt/ dZVjqEz0KOqAk/KHyQHIvXkjBmyL+E8pAh+ls6TLgicexnQXzyXtTXWfdGntaINKlsIv 3X/8jPtS1VTDQhxaeByYvFFv+Qni1pgAW65yNxmp4Mc2CeIFd0hs8cSNtni6hKCfcHH8 234aWWVSgHc7FMh43jdZw2AWWDB3UyZF89U+pyJl7GDeOEPsWfL7akRGKa058NYn7DAr HrRluqYHx4YFbrUXSiFPhYyflqK09nxXa9rneg963lxyMkIA+RSa7RLdet6ayLOdu4SZ itxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="TOKXoqn/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si3219563otq.144.2020.02.14.08.36.32; Fri, 14 Feb 2020 08:36:44 -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="TOKXoqn/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405990AbgBNQYt (ORCPT + 99 others); Fri, 14 Feb 2020 11:24:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:58928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393296AbgBNQW6 (ORCPT ); Fri, 14 Feb 2020 11:22:58 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0C03124762; Fri, 14 Feb 2020 16:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697377; bh=kQlO19WGmdwyYbeV4hSmX2HN+c5KysgdhfGy90ISEJA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TOKXoqn/wqVc5Z9KQnOW+0ZC03+c7oUfzse1oZI34yRFXM1SPQ5e8ZQv4ScnomTL2 NeOc9iUei3xnNn/gCZQ4hLMcRGyvzeXW/CEXb8AVv5S9XMZaY+FtZffI04G1bHQPJb hQdAFUIvHseB4q/rOYwP3woSdoxAPI8w23gDWNZk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Geert Uytterhoeven , Sasha Levin , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: [PATCH AUTOSEL 4.9 075/141] pinctrl: sh-pfc: r8a7778: Fix duplicate SDSELF_B and SD1_CLK_B Date: Fri, 14 Feb 2020 11:20:15 -0500 Message-Id: <20200214162122.19794-75-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ Upstream commit 805f635703b2562b5ddd822c62fc9124087e5dd5 ] The FN_SDSELF_B and FN_SD1_CLK_B enum IDs are used twice, which means one set of users must be wrong. Replace them by the correct enum IDs. Fixes: 87f8c988636db0d4 ("sh-pfc: Add r8a7778 pinmux support") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20191218194812.12741-2-geert+renesas@glider.be Signed-off-by: Sasha Levin --- drivers/pinctrl/sh-pfc/pfc-r8a7778.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c index 18ef7042b3d1b..771689a41dbf8 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c @@ -2324,7 +2324,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = { FN_ATAG0_A, 0, FN_REMOCON_B, 0, /* IP0_11_8 [4] */ FN_SD1_DAT2_A, FN_MMC_D2, 0, FN_BS, - FN_ATADIR0_A, 0, FN_SDSELF_B, 0, + FN_ATADIR0_A, 0, FN_SDSELF_A, 0, FN_PWM4_B, 0, 0, 0, 0, 0, 0, 0, /* IP0_7_5 [3] */ @@ -2366,7 +2366,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = { FN_TS_SDAT0_A, 0, 0, 0, 0, 0, 0, 0, /* IP1_10_8 [3] */ - FN_SD1_CLK_B, FN_MMC_D6, 0, FN_A24, + FN_SD1_CD_A, FN_MMC_D6, 0, FN_A24, FN_DREQ1_A, 0, FN_HRX0_B, FN_TS_SPSYNC0_A, /* IP1_7_5 [3] */ FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A, -- 2.20.1