From nobody Thu Apr 2 19:56:28 2026 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 A8B2BC6FA82 for ; Wed, 21 Sep 2022 15:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230286AbiIUPrd (ORCPT ); Wed, 21 Sep 2022 11:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230246AbiIUPrC (ORCPT ); Wed, 21 Sep 2022 11:47:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D82CA92F4F; Wed, 21 Sep 2022 08:47:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5BF87B82912; Wed, 21 Sep 2022 15:46:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E1C0C433D7; Wed, 21 Sep 2022 15:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663775218; bh=8xqtOQLIJHmSa37FahNLXbW40Isx/pVyE1Otd7wZkj4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MynKv0Qce3PmnsFwZKcbxM11jjwTToUNXn/I+0/6Gi8tSO0dRwET/PV28cj03PrgR pKUCuFjUKOpgjOpwuT2fETitp5vPmOv0NSBNUExudhryhOTPpFZytDFKkXkpT6S9ey 6cIwwEyP4dXJ/jEDYxuGe0kdcP4b3FKys0A3G2UA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Molly Sophia , Bjorn Andersson , Linus Walleij , Sasha Levin Subject: [PATCH 5.19 03/38] pinctrl: qcom: sc8180x: Fix wrong pin numbers Date: Wed, 21 Sep 2022 17:45:47 +0200 Message-Id: <20220921153646.418905460@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220921153646.298361220@linuxfoundation.org> References: <20220921153646.298361220@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Molly Sophia [ Upstream commit 48ec73395887694f13c9452b4dcfb43710451757 ] 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 Fixes: 97423113ec4b ("pinctrl: qcom: Add sc8180x TLMM driver") Reviewed-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220807122645.13830-3-mollysophia379@gmail= .com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- 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); =20 -static const unsigned int sdc2_clk_pins[] =3D { 190 }; -static const unsigned int sdc2_cmd_pins[] =3D { 191 }; -static const unsigned int sdc2_data_pins[] =3D { 192 }; -static const unsigned int ufs_reset_pins[] =3D { 193 }; +static const unsigned int ufs_reset_pins[] =3D { 190 }; +static const unsigned int sdc2_clk_pins[] =3D { 191 }; +static const unsigned int sdc2_cmd_pins[] =3D { 192 }; +static const unsigned int sdc2_data_pins[] =3D { 193 }; =20 enum sc8180x_functions { msm_mux_adsp_ext, --=20 2.35.1