Message ID | 20240617-pci2_upstream-v6-7-e0821238f997@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2076.outbound.protection.outlook.com [40.107.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C592C19AD89 for <imx@lists.linux.dev>; Mon, 17 Jun 2024 20:17:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.76 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718655477; cv=fail; b=HM4HD8NBsqmKT9L0Zu9JoExjsTVdrT8IPHba0OZD4zcrPhihrcZqct4pN1OcqwB25x+u4ANNyGib9KEC5Ixp7p29fOfFX354RbjFI7hhisJeFWCPNMf4hapNgyZ55nxxHZf0LYhPdvwVcOVagVJxzwPo98NyFcI5F0HEL+qShLo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718655477; c=relaxed/simple; bh=om4Fh5oG1kwE0U1dD6JH9tan5doH9jtRSql0uUIv1xY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=pmFakF5f2y/ZCA46csST+16WRBQ410MeJ3KRz9MKGkL6WVU3oZuTQ1ySLzWVzWxiboArCxn2j2gR/wr7D9tLw3sobSYAMQqqFQJMK84A76INir34iy6OOBF8I9ORu9xOMRdxLfdyCx4Fe2MsqR23AkJgyAFwlSM2tYyrFnyu9RE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=dGQ0bjFc; arc=fail smtp.client-ip=40.107.103.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dGQ0bjFc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RQkv+5eczKPHjTcJuDyR3iMU37XH8y0vC9fwRJ9D05W5w0CqBpqkBvNKiditjCOp/TnX5+lvTCXoWEUnBWCq0d/eTLif6b6Stu0rvmbFl4DIjSmKs4EkfFEf75X2eNPYPnsRfNN4tQF7xW5uIrW1kAjYf92qRqxUZPRCw9c3rhzUmlz1Nq6chkrUP4pnJa8BjLla1vGN9I0KPUJ5Nc079JhXiQ5r2rEWoDPQu1o6z5uXZNhKwaFxiBAc4chH1Vo4ZzrHfYO8MQrgiJZRyh+4dd32wZhV9Wxb3mC0CS4qtrYca/8qRAmA/DQFhiTXCN/L7wySMkxShUnjd+XmiwejkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TFxC9rPKvd93kah/Dqg8UZA6Y/nTglhldH9xaKShG1E=; b=ib8paJe74nGtt6ZkPVFnsrR2GYLJPDdGZ8ZTOeMzjn2G4zgS+Br37z9iTaP1UpGKmcdjBHh9z6WwYef2ReuKp1KWjyjHsFvrRJNCZ+jjELpFFqSG3ky55bzam7ucIFug6cBTi2B/WCGkrP3E2o1Nt9B39CCpeUjJMUT3Yu1JTbIs/QF26pyb6YiaBC0GUIol3O7UXZ9pEvgvDuUZskBwUu9f/zscnjRTeuXqoEwNzEzQp+WGTZSs58aYw8hlmm/C22pC9SmfmZuIrgzMZA8DjbIbEsC8Ah3MUAsTvSv9FDW2+FjnP19cG9qRi1S3JiWIjxcrdn7s02CYA6Bs36G9FQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TFxC9rPKvd93kah/Dqg8UZA6Y/nTglhldH9xaKShG1E=; b=dGQ0bjFcrn/NjqDpOwoEA98K40NHE9KY+rh4A6FAbgjQHUaylhHN44f5sVjzUb9TmSHH5vHya+is/OKFgdA82Kdeyio3PUxVnxLiDY/kMcKNBsW3QrYVIoO4Zsoix1VK5X0oYlCORIVVgJnpauJTj+6Z32DmEU5Ewce0S32knSU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PA4PR04MB7997.eurprd04.prod.outlook.com (2603:10a6:102:c9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.30; Mon, 17 Jun 2024 20:17:53 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 20:17:53 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Mon, 17 Jun 2024 16:16:43 -0400 Subject: [PATCH v6 07/10] PCI: imx6: Consolidate redundant if-checks Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240617-pci2_upstream-v6-7-e0821238f997@nxp.com> References: <20240617-pci2_upstream-v6-0-e0821238f997@nxp.com> In-Reply-To: <20240617-pci2_upstream-v6-0-e0821238f997@nxp.com> To: Richard Zhu <hongxing.zhu@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Philipp Zabel <p.zabel@pengutronix.de>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-pci@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, devicetree@vger.kernel.org, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1718655424; l=1048; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=om4Fh5oG1kwE0U1dD6JH9tan5doH9jtRSql0uUIv1xY=; b=9uMWFLwCroYvOHNKcVvIyAR98TUgqlnHeSFOo7S1rAHPzfM51UrKhhWjtHs+nq2N1UKOlhl1X owo2yndpsGqCSHZI5Lv7DzWZMFSjssR1DMn57At8HNnaPPdP6Muk//F X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0116.namprd05.prod.outlook.com (2603:10b6:a03:334::31) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7997:EE_ X-MS-Office365-Filtering-Correlation-Id: b7d209d0-5982-4a3c-7811-08dc8f0a9163 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|376011|7416011|1800799021|366013|52116011|38350700011|921017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?OoKU6ir4l6l0+3vYxj9el4my4mRMJsd?= =?utf-8?q?W16SFgEbyW1WkPgLMCscQsf5wCY4vv6Qiex2B/1nud2zqyNU79krh2r02J1jkL2Qw?= =?utf-8?q?TMO7l4xC6aMMpE5Y2FkO3LsJu8FR5osUtAV0RnrWbHrrNykh7wUCjrwFNUsua0v9p?= =?utf-8?q?Hn1oObt0otzklE8oQO+daOjuHMP1MO2zbTUODfZ8bzd5WRCnA+ZfH9NN7DWAJHoWS?= =?utf-8?q?m23MmTfVCzA91c/zIZwvyW7jR4nbuk7WEJvy0xjvM/0F+72YV2k52fOPbXoPq4+Hf?= =?utf-8?q?OIsrnFjuDM53j251O1bkypQZDbmFamfzi2m33dKxbj0YsSPPaP7ZXbtcuCuObuhNF?= =?utf-8?q?C/f3pK+bu1O8Xp2f5V5zIWBuyv32+kimRXvhgpPOC94ruYI2R+jZ46e5ses/y1her?= =?utf-8?q?FIS8A9LVJi5ZNPa8KmPZVjlWnoOPA27MR60z2IcBqfxOYZQLBM8DZdbmwhHUtzOLU?= =?utf-8?q?w1dpaUxncjeag4vpz1029+haMwLTN8dliO1mj50R9RZL2b5pVI/4vfMVmBnsCVBZe?= =?utf-8?q?AfZhr0cMPYuQcsaytJOMaM0u2upwcpuVm9SaqawKFrPCYNv90Yxj3jy17BUNrWQaP?= =?utf-8?q?Hrfn5Z/7lm71Adl+YdQfT3LMa2EBSUuyjYB7RObXuYqPm7/ddZeLT+i+zqPd67tGn?= =?utf-8?q?q7ACe7VRS8wwbbrsEGfIjj2Hxl5PpWd5fM3jcU2jLjv+aaLQjQ88zZv7NqJci5y2Q?= =?utf-8?q?cK9Z1nFqyTBbpYaVP84ejWobDfN+xbTtdKCwGIw07fu39GRGwW6XHePEFE8nKo3Y+?= =?utf-8?q?h8wK6g/B6iUsU5cKklml/J7sbWisnrWU+fIDdEXEFJxx4QMrk5E9FvdaquDlNlgSt?= =?utf-8?q?8cJqCDGgmuL4QKbjGrRxh3octdcDiXtb2YQz3EOPdWYkkWrlQUJBOsTkjgorwnAYZ?= =?utf-8?q?Q2bwYCnHJBaHPioC+wbMgALuoII0ZcZF9NoY9k/syGFQAQDMoFBlu2rW0pZ7YtM6K?= =?utf-8?q?vspMj9MEscveufYS8Cx3sD/yr7eZoh8F/0CPirbS57uY8WKNIPCpjSUZWBuGXoMn1?= =?utf-8?q?EshcDQU3ZFJuE+Pc/HlH5OmsiTFGVrHeklAZNszvN2SzsB1pTsWbcbJxQjzgLh/fN?= =?utf-8?q?GOkPdDc4PxOwqgjnzq2FjLB+JaSRhseu9+KQ5sQzhZ3aSo2B002ATTiar7ZU7CTHd?= =?utf-8?q?Yz0pW84wELfhLWCnHvDNJlhTKeVXDwHSk13NwoBXsIOqJtSPAFqRW4M0LTOxwKdiV?= =?utf-8?q?jObID7A8ob1BABoE8205aR69kUCFPVRbPEgZIQ783v0AL+q+PLXO/5MH2Khl7/MV2?= =?utf-8?q?MvKaltMiaXFtOLTgCGuPBkKrQQP4LuFHjEP1kGrEYG0QPvTXC1fI21SQJNE8b2t4P?= =?utf-8?q?C1l7C9NUteCT?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(376011)(7416011)(1800799021)(366013)(52116011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Ex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MQ8DCNQK?= =?utf-8?q?/EUfCqJ38azIJ5UP2H3nnzb4KzTkl23xOFAhgfHRT1MYLy+mKYFPHfceYmkidGrKY?= =?utf-8?q?8oMJMPwHv472uzqOsSEKBYejYrvmCT3cU1rOXWXR2vgLpg1aLZNNZn36sPxU1zfUM?= =?utf-8?q?njbEVNl+c6QrlCP4VwP58qbMhOsKX3insjp4c9hJ5sYnmxuQj3XVDPZehh5jY5/Eg?= =?utf-8?q?pOgzUkBEmwNk2a7jiaIJlOmFxTDiwkwUkrwxrw8T+5/YFDAPsC7ZMJIS13zGeCt0A?= =?utf-8?q?gXc0YnC3X5PhIHUbOIWnX/9JjGc56oNVH7vuzzx+OqbQX3DqExc6/elJysmNPLsrI?= =?utf-8?q?LNhDJ6VzKP/1VElxJX3fesdYyhtIewnHeyKIK0bS9RnzGhsGLEtuTr4NrzMvbMa/o?= =?utf-8?q?PQJlHuUHsEa+s5wXqDvWdvJ0AYBPxxdD7f3rZ+orhD2iSIbRykUib7eGIjrHzJ1Uc?= =?utf-8?q?HY+9TsJltDYZo6hQD8UIxC711SIlNCLMvNXdiQF83NBdtWKw51ONQoUfw5+y/Yoh6?= =?utf-8?q?IIqYwFJodXpB8THNxNoEr++DYDP+2wgAD9EegLDsKTSL2hVGZY+zCWo17X3uC+qvC?= =?utf-8?q?uJJuPmk6iMHi/dWsaEj8NJzrj3ZqGSvnmGJKPuzU6mi2NVwCfOgsyMGyrG4XiKHof?= =?utf-8?q?6dnyqUf2rOXjRiN5scafk23CjmhZxKCr90gnYsVGam2iOaWgpcbCmn/H3x5+uQDxW?= =?utf-8?q?2UcP16jxMibW?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7d209d0-5982-4a3c-7811-08dc8f0a9163 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 20:17:53.2471 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AkN85sBbzMxJopQ3Xs6+itDiq2dAuoc2dmKKDiVFZLqrCM7JSwDDxczx9jvgzNOjxGdnM6bY3HFXs0uJupFqPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7997 |
Series |
PCI: imx6: Fix\rename\clean up and add lut information for imx95
|
expand
|
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 6e3ac3fc33745..ab0ed7ab3007a 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -954,9 +954,7 @@ static int imx_pcie_host_init(struct dw_pcie_rp *pp) dev_err(dev, "pcie PHY power up failed\n"); goto err_clk_disable; } - } - if (imx_pcie->phy) { ret = phy_power_on(imx_pcie->phy); if (ret) { dev_err(dev, "waiting for PHY ready timeout!\n");