Message ID | 20240729-pci2_upstream-v8-8-b68ee5ef2b4d@nxp.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2067.outbound.protection.outlook.com [40.107.104.67]) (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 97195188CBC; Mon, 29 Jul 2024 20:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.67 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284374; cv=fail; b=fvpmuvEGkMNLKx8Chn6FRnqCENHt+gjMrbifVDGQDcQ84hN5YcxjSP7yOt96C2YJLBufjBU0KHwsZh1af891GoghMU575lCB5wWpfW34eHlT2TnyLTSAsnb8xCAMpTKjXkowYFLzSjPJXrXfoqAFU1eDN5HWxJLDXgM+fdAmjLw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722284374; c=relaxed/simple; bh=Sz4wSH9fJRxSuOtKT4ii9bZq5wdfSH0QeE8uwN+gSOA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Zl5VXWUrEk6JMiz6CV3v6+nawDL4jouFNh90/rJLWF2O8KC07NhAbQ3ah4eu0nx+BC0WyLBlVH4OTD8b8HaNbW83XzeIGIIIy6Sk53S/jsLaMJqDByCdh4ieyGM592uXn/yglUyyZa0pN8zys4HlcjVuOe4Q8u3pCQmpD0voYdM= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=a92F3iMz; arc=fail smtp.client-ip=40.107.104.67 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="a92F3iMz" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=osuSUH8dhrs+eQInmpCwxHGoy75n+KZADa8X+qPB8ubrr/q+iPqYzbdxWJFOtIhGO/n6Pn3KT5GhZSpfoSA3LBjz0NnXCmReMV7Lj5fhAOZKHO8qNl8vopWcR/CowZoEXNs8zV9hLD2otW/wHNIXT8kyiS7Ag6blMcI88efkjEnbBUGKc7OIN20umDfnNawq5ZvvgOFS/2JqAxqSNS11v0q47/fSUdUJQNT1N5Lvpn/fwOAKmB4O4+t3Rz/TWuVSv3VmPNwjjxg7tXiAU87M/edrMvGOd2zEd8OhG5p3sOhtzczMEn13ppYy4tnaHO0vhusI5PZNBYTaYDSmzhiBNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=YMwEaN6yeCcLphdNMKFyLxeCWmsveowSNo0XAum9u3A=; b=FgMkMZcHdwUSF3o5Iz7urnfICyVuoEeg8eZ7NxRGJw1ddjh2JLnucqDQRSxCHsK+Y2X+rkJDVDt0B8p1SudJ4smpaOnskPRJEEHHU91wJtqLX0/0aSI1mfbJm7TLET5SLJU+EdsDU30hJk8nnz7NrFAvTFF2jKrXzL5BipuKyncaOTQkeWFItTt6uXMrOD2BG4Lm7AhBFqc/mah6nmXoIdiVtMeyvmPU0sIsojNvSCH/PhI9Qn4i8tq+yKGPdmwQ23BMpevNHPboUIXfQjczlOThGCELNQETsQLHbEJO0eex8Kx/Zr9t84o8quPms5hQLKyyO/WDU6+UI+4mKa3mQA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YMwEaN6yeCcLphdNMKFyLxeCWmsveowSNo0XAum9u3A=; b=a92F3iMzm2cWftEO95qj+MEIsvQPaHwHwvLuhKX1URZ/+00tOTzS7IMKLyaVfRiCRQV4+9fl7VZVDJOoGGEqOEQIGSp4p2+DhngpGy+PwUHmcWWk/jR5r9vIh37gZfDZF9FBVcgmH2cEZ6hGQvOaAhZxgd0RclQ8FQ6NTALVbUPaEkiirLxIhULv7f9p015H9SsxR44833W2jzsXxAQpsJBl5zlvTKQp6auIz0AErOzeEf7y4fckjwWwgisv2dwzj/aCSx7M85DFTG87HVjE4Is24dkhL5L93whaKkUo/SLm1SIgfrPDpTDtk2dXgxnMC0n3p4eCaRLZTqpUyGbwIg== 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 DBAPR04MB7382.eurprd04.prod.outlook.com (2603:10a6:10:1ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.27; Mon, 29 Jul 2024 20:19:29 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 20:19:29 +0000 From: Frank Li <Frank.Li@nxp.com> Date: Mon, 29 Jul 2024 16:18:15 -0400 Subject: [PATCH v8 08/11] PCI: imx6: Consolidate redundant if-checks Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240729-pci2_upstream-v8-8-b68ee5ef2b4d@nxp.com> References: <20240729-pci2_upstream-v8-0-b68ee5ef2b4d@nxp.com> In-Reply-To: <20240729-pci2_upstream-v8-0-b68ee5ef2b4d@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=1722284317; l=1048; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Sz4wSH9fJRxSuOtKT4ii9bZq5wdfSH0QeE8uwN+gSOA=; b=otQ/qzidAqYKVhiDPLASOsMjdg1AE4Xdv1KHAq/GPRkWZV0hbxj3xmDagbjVAYFjGZMjm4Wl6 OA/fMROuLhpAjkqgLlZ0XgDQPDVSus1fcPcRFd6WbrE1+CUWOf+B3+A X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0069.namprd03.prod.outlook.com (2603:10b6:a03:331::14) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: <bpf.vger.kernel.org> List-Subscribe: <mailto:bpf+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:bpf+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DBAPR04MB7382:EE_ X-MS-Office365-Filtering-Correlation-Id: c552c389-46aa-4994-0ef1-08dcb00bbfc8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|366016|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?b843YccISZjQy4Wq79kil4auaP7RXGw?= =?utf-8?q?gY/JCMjrD+2lJVE0hchfMz990059VAIk/ZWtt4Z8rCELPii2zj8U0BbJjPvoTLjxh?= =?utf-8?q?JeJf1qgbrChVC1KMxMBmMqjzOnQ5mBNO7P76TcQIMneWeV2MNgxE6j/rtOsc7zNK4?= =?utf-8?q?eQpqCAmD1/TaWu+AKoJVznFFjO43hIDna8Z5+vAjftLLeiwbLCNzjx+KNn4Lhx7gE?= =?utf-8?q?jPts9zZDK923b9UkN9k3UYM52ixVQiXppq1V6Zdc2v644kYyZmUOFHcWZFUnegv6P?= =?utf-8?q?Qwh1VgEPBfc5Y0rr4zjXb89uiBNdyKJci+gbz5RWshjshBytw6ZSMplj8LRpzn/sq?= =?utf-8?q?s+q+X7VsYeNsYGt4fC5LSXtVtnw73FgJuiYix6yV5lHS6OL8VUVPz0vXCdRmFTRj0?= =?utf-8?q?cu9G9CrL3YBXhgNL6JHMQvjAGhjrXDBn5dE/M3INsxqL9Y6iSikVAH67eVAy2aYE0?= =?utf-8?q?lbs/78m8GHF1aE/WoP3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SuXrUcmjzwJcEDDbpgucfA=3D?= 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:(13230040)(376014)(7416014)(366016)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0CaenXoqsnFKTeuxVdQQS7gD/xcB?= =?utf-8?q?2U1vBMB3/OpjOKsHkBVN/26S73+AmxouX5DPylqq/Qgxc2ZDxCVanS72uKDQu8Qv0?= =?utf-8?q?Ia3pXHRrB7G+Wy1duaJRhK569p09AtMTl276t8GKRNxre5qyayJOAfXZ1/hb1uo6m?= =?utf-8?q?G7TvpeTuP5oEuel03E13ychSvif3D7gbMHeSM8mqtTVKJ9gIDhTapcwcgr/6ziCdc?= =?utf-8?q?6O/5ohDJEPbEjtvILxBBnwkdhKp2aPjkCocy0yJkwu/eUYX/P/umgPqNXEm7vpOYL?= =?utf-8?q?hkiJ6D/3yDxP0uy5n58cMOlOjmghYx7qY9vEAFIeg5mV/1slYlG1YmmawTmcWSr/H?= =?utf-8?q?J2U89epoPK3tHTaMEoLEJg0SV+0UvDw73kL9UBfoccEXX1Rp3mwdLbTHRoxWx/PIP?= =?utf-8?q?76E37r1xCR+5n+A8ovgO6ipT14NN9L+5lURdSZc589ucOkEJiAoGUO1ojGwz4rujh?= =?utf-8?q?2nrua9FLHsrWqaFdUgPNrHxg5Wvvr9DWPoHf48jMnAo03QtykFPwKTYzu1xO7BRt0?= =?utf-8?q?l1Yritm5LwIF15IOUjax0lS0DW5atsIM5ZlecyLX8gm3jSt6QSJbJrMG76o5pVi0A?= =?utf-8?q?eQAxU/kEma5pF5hrt7rTJJig9ogisTa7uCFWTwopjle2BmqOtwW5vsPoj9qy4wZN3?= =?utf-8?q?rx8V/6i9mxew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W246d1q?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c552c389-46aa-4994-0ef1-08dcb00bbfc8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 20:19:28.9188 (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: LG8Ets+4KUHaackq1yrkcliH+uKsJWIHL6bIexKc7Neie0E4CUYm9q3xLYc4fZ+yeWL+AMOwHEvVSX+YX/srIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7382 |
Series |
PCI: imx6: Fix\rename\clean up and add lut information for imx95
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 6be32a93411b6..ccb7cdae32756 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -949,9 +949,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");