From patchwork Sun Aug 7 12:26:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Molly Sophia X-Patchwork-Id: 596258 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7B27C25B0C for ; Sun, 7 Aug 2022 12:27:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234156AbiHGM1X (ORCPT ); Sun, 7 Aug 2022 08:27:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234100AbiHGM1T (ORCPT ); Sun, 7 Aug 2022 08:27:19 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D18BC9D; Sun, 7 Aug 2022 05:27:18 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id o3so6344409ple.5; Sun, 07 Aug 2022 05:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=wBAib5lIj4PJUGlyk4iTQzVyGIBH+CGO5pPhuP30EHg=; b=PUDC2IIQRPWZaLKg5j4NoAxtZknUO2RQ6OMTliQSBQMejjRC+zIRVOJeg4Btkhr8Wu D1HdkwGaRwMZKIliT9FFNPoeP6fH/2YUmn//XW+aMqyfysjjEtd/eGJCJ+gUxftGB69S m61KXZ+a60W8DzNnmZ92B/yxxd2cyzgvkinnbS9UFYl8Iuj6FMQs3DE0AdgX6N+qXjsK N7xRTrNTuABf6/nyt1sslsdAR+LNorR0xanYA8DdL9tESqkM4HSN70uV21CH7e49Nt4r iXNHVnY4mrFRHf2v8V0vNmu/bNPFgPK+/Yzdh3t+qLzoI0R3gtGgUnETUu85Nswk1h9N ogEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=wBAib5lIj4PJUGlyk4iTQzVyGIBH+CGO5pPhuP30EHg=; b=jnrO2k1TlTPsGLkVSojg3i5/xqhfCxnCMXPyuefYSbKiHYLzhs8EQj3JA4L790dMSu qKKCaDIcgi7ok8pPRq4L4R8Gyhu/S0/DzZDMC0offaWbJY8TSRcT6PRA9nYmaI6Kjbv4 mOQPAhgTnNmnAKdnLyPiHj+b4pZxXNdV7EFrGj8bSjKVZ+6kzP+l4D6GP0cA6X79lby5 v4EWFoDMG/3dBVAwhzdSFgNF8B3zfRe0OIg6+jdqMaheziVTaRsknzGufxGPEAKSiyF/ zUi6mXptuqb1Ptk/r5dJvuakpza/PCWzxqqH/yCsYf4vcTidcZ2Z99Io9OMgyDK03MI8 oTPQ== X-Gm-Message-State: ACgBeo2cWb3R/TtSU5xJ+ym5BwD3Fh7SjzYWAyQK3nYfYEj71Imdk3E0 y3p7565yNmr2JAohNbH97BY= X-Google-Smtp-Source: AA6agR5LeRELmDiZAAxgS+mUHslGi2AL4mX/OT6YLOWhzCNtQm7Fn4niAptlu1/dzlAi7G4z0T5D4Q== X-Received: by 2002:a17:90b:1894:b0:1f5:1041:a4ed with SMTP id mn20-20020a17090b189400b001f51041a4edmr16358767pjb.125.1659875237512; Sun, 07 Aug 2022 05:27:17 -0700 (PDT) Received: from Redmi-G.localdomain ([112.0.190.111]) by smtp.googlemail.com with ESMTPSA id n7-20020a170902e54700b0016c16648213sm6716709plf.20.2022.08.07.05.27.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 05:27:16 -0700 (PDT) From: Molly Sophia To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Linus Walleij , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Molly Sophia Subject: [PATCH 2/2] pinctrl: qcom: sc8180x: Fix wrong pin numbers Date: Sun, 7 Aug 2022 20:26:45 +0800 Message-Id: <20220807122645.13830-3-mollysophia379@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220807122645.13830-1-mollysophia379@gmail.com> References: <20220807122645.13830-1-mollysophia379@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The pin numbers for UFS_RESET and SDC2_* are not consistent in the pinctrl driver for sc8180x. So fix it. Signed-off-by: Molly Sophia --- drivers/pinctrl/qcom/pinctrl-sc8180x.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-sc8180x.c b/drivers/pinctrl/qcom/pinctrl-sc8180x.c index b4bf009fe23e..704a99d2f93c 100644 --- a/drivers/pinctrl/qcom/pinctrl-sc8180x.c +++ b/drivers/pinctrl/qcom/pinctrl-sc8180x.c @@ -530,10 +530,10 @@ DECLARE_MSM_GPIO_PINS(187); DECLARE_MSM_GPIO_PINS(188); DECLARE_MSM_GPIO_PINS(189); -static const unsigned int sdc2_clk_pins[] = { 190 }; -static const unsigned int sdc2_cmd_pins[] = { 191 }; -static const unsigned int sdc2_data_pins[] = { 192 }; -static const unsigned int ufs_reset_pins[] = { 193 }; +static const unsigned int ufs_reset_pins[] = { 190 }; +static const unsigned int sdc2_clk_pins[] = { 191 }; +static const unsigned int sdc2_cmd_pins[] = { 192 }; +static const unsigned int sdc2_data_pins[] = { 193 }; enum sc8180x_functions { msm_mux_adsp_ext,