Message ID | 20240823144342.4123814-3-spujar@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6781b962d97bc52715a8db8cc17278cc3c23ebe8 |
Headers | show
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2068.outbound.protection.outlook.com [40.107.93.68]) (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 4CE1418891E; Fri, 23 Aug 2024 14:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724424264; cv=fail; b=Wc7iL+Dp0/7jMmOeRE9lMpAQG7oo7eApQa2j2MMTZz0cg6DpLZEYDzriHZUk8EdZPlmAMGRGrll0W9qbO9mV7z3XIw/GG/z0h0EhCDK8T3Uj2b4A/1wgws0T63oXJyjDFkuAHqMIVEPW8np0Ple0raAHbEDfZV2wsmfWT9plbP0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724424264; c=relaxed/simple; bh=/QI0WKxpfPUP2wNFljwxgUgm3t7ZhAYXiWLg01v9C6c=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BWDOUhLynwnV2o1sytObYZcevNbcvgujKUasfyjs8uUg8LnNS/GmWVZXn5M0jdQDgLumYguLbcXEW/3xTrllWT1MfM59S8C28HioDjstUCqcQ2/FTK9ouhfWWKlPtNdXbsW70ptdxqFwX+GUYcMJ/VxWMxPQaloEx81bubFRmN8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=G/Tv2f/o; arc=fail smtp.client-ip=40.107.93.68 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="G/Tv2f/o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pr6lH32kVD+cfGr8D/fTR55p+8c/lh7Kcw4jR/ZBUtS+Hmk7u7WCapzT29gqUbcROnP+/w2RmLBHfHR410/zXWWNO3/9r8haTbId7ltwdLNKR2GZGXL8s0I1K6HWRWfbcTrybGY70cXIfgaRyvBkn7260UV7TscvdjhzG3cdwdQMK0eI5d8Bdh6fg4JexdxG+1/3n1PAj0eLEqi3s1mTwckXpq8N/r/nhSjebTxI1xhUJalVPuak387YNM0vqUcUE7mIl0hHIlOu/goZK5zu5PJdYsXjJM5mf8PPncCTQZGuQ/LqTZE14yXlKBi34lCLXiBOPqPbXoQlrmEvvmza9w== 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=uC2u1MEL+x1Fwp/jddU86a/Z4fhXvTh7xU28dWQ0Md0=; b=ikt8/fHyPz5At1B5kzVgCZMcKVFPbwHyVVurx4prtXPFKIo0HxIWmNIGHTU80NrFBYRVlc3yh/YHPT2mrgBVSkBCDnoExxXOpPfxE9yXBNQk3jTIczfI5uWFss4HI84a+H2frrFvPLXhcjCEnvWnovpCx5qynPgMhP2CpWVUPclZs3ZNzlW9qVQYiP1uaSG2ij3ruoTaryZBqP9ITYiv0DFTTRxWFuxQXPHCmLOhlGaZXUX5y08vxbqfBl9L5HrXR01Wwx0qOkXfo2Eyl5KHEI1bsZDvahBu2BNl6m+XvbQE9mSj5THtmFzexrq+dGx63gkKhdekUkKhWtAmpiD7Yg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uC2u1MEL+x1Fwp/jddU86a/Z4fhXvTh7xU28dWQ0Md0=; b=G/Tv2f/og1KtO/imm49TuIWhDgi89G/U7rxKxwhKiBCyl2C2LsX3CKQS2bPdqzf7ScNzpvzuY2Ap6PF8kQBNrws6eG+3SeKst8hIHlpZkFeXZIClqMHDDgpfoS4YSvbHGS7o66/9sq+qtSXkw/gJkP0PdRLXfeKiZvnLAfL1T0aYGqrRsd0URRvGFgXAdQ8zhIgaFDJ4lkCTC9JinaOpqw4LW4CWvZw2CZmPAZzMHTJiRtiDyMfbeJM1Mof2TrthpWusZCeBBHHIsZpeuKeTjbBRQy3DLedEHFFU+J3jaQvP05GsjS6smtwIgQLXPt2cL0++bCuZczJucb1Lr2yQ9Q== Received: from CY5PR15CA0257.namprd15.prod.outlook.com (2603:10b6:930:66::21) by PH8PR12MB8607.namprd12.prod.outlook.com (2603:10b6:510:1cf::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Fri, 23 Aug 2024 14:44:18 +0000 Received: from CY4PEPF0000EE3A.namprd03.prod.outlook.com (2603:10b6:930:66:cafe::9a) by CY5PR15CA0257.outlook.office365.com (2603:10b6:930:66::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19 via Frontend Transport; Fri, 23 Aug 2024 14:44:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EE3A.mail.protection.outlook.com (10.167.242.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.11 via Frontend Transport; Fri, 23 Aug 2024 14:44:17 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 23 Aug 2024 07:44:05 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 23 Aug 2024 07:44:05 -0700 Received: from build-spujar-20240626T115404323.nvidia.com (10.127.8.9) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Fri, 23 Aug 2024 07:44:04 -0700 From: Sameer Pujar <spujar@nvidia.com> To: <broonie@kernel.org>, <linux-sound@vger.kernel.org> CC: <lgirdwood@gmail.com>, <perex@perex.cz>, <tiwai@suse.com>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com>, <mkumard@nvidia.com>, <spujar@nvidia.com>, <rituc@nvidia.com>, <jbrunet@baylibre.com>, <linux-kernel@vger.kernel.org>, <linux-tegra@vger.kernel.org>, <robelin@nvidia.com> Subject: [PATCH 2/2] ASoC: tegra: Fix CBB error during probe() Date: Fri, 23 Aug 2024 14:43:42 +0000 Message-ID: <20240823144342.4123814-3-spujar@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240823144342.4123814-1-spujar@nvidia.com> References: <20240823144342.4123814-1-spujar@nvidia.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: <linux-sound.vger.kernel.org> List-Subscribe: <mailto:linux-sound+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-sound+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE3A:EE_|PH8PR12MB8607:EE_ X-MS-Office365-Filtering-Correlation-Id: e0d34ae3-06ad-4940-71df-08dcc38210f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|376014|36860700013; X-Microsoft-Antispam-Message-Info: tLUE1R7PCHyxz8fQtpZa378bpOfw35Wm8Xn7fJyZS6YNkUX1FjxXA4a8pUQq19TFWzLFAuYWa0H6I6Fp+ju++JdUwm5glqZrATDxtyJ8ycQtG7LdRAhy8R3QZk/jEiVK0FsEHQfs/iqvuP4WT41PHAZriX70B4ItqbmK6W+BREOS/cw9VHLAKfgU7nqNF11LnKCUf6u69mJIkq7ohERulaNaDB6jq62p4vqn18Y8x30feHHIUdWU9yMFO5B+yELXopTrIKaF+epzwTN2XM3YRJ9V5WA98jnKQ0Nh6Y7Nsa+JMF7toMkjTeNTPp1h7hg6RVRfMiNJxXTPAoHN35F5JpzDzHtIM6SVvexZxeq6bQeXS1qovPkdyeBYJQCKT21H/+bzORhwB4gGWO1P5ObnLT7Kg14nokNkeFtJs/j9zUY41ZYxTy/MIqdSRkIAts5FaQLT4eFwhHNXKMuLxBYsEKjki3fI0msIe7hbbHS1swemzrNzIDQOlX71dam7DTVwNbPA/hB3bzjUrAD3AtpNEked0I7Zu3xEQ6QoYOiocuepkruZF3uVCVVA2FKd++PSCtLUwGkkJ4iKzr1UqOknesmoMrdrp163EoNuAKJHm5CAGSlKmnoYOLG6+jOAOuFktHe5J6Qyq49vVvnQm/3at6oiFfrBG+KoGiho8DHvgGAHHj7JqblZpS/ZSlT0YCbMncr+BrclFOnAIFKzO7MHzLdp6e7J2LzTZ/up9Wm87Y9psquT1a6KrthNyQbOwN1u7ftJsZsE3nCJcR2K16RRh0KJlG8UFn+5AJ2rHDGQfcMVUNKPtwudeuUg54DerTbzYDvQlwknDJnKXcUPY45pmqHDl8Paa4ys3zNAe3PubOaJD2DB4AoklJCOw1S1J6zvaFLmCFI5iDlgrEdwrc20bhKF6nGzMFj52Tf865db8UNTZexcQnUA7Xmf0nZYAk/BCLUCdK4GLKO55sh3mFnSmCaIMsgcBrGbutCoLzEdcIpvp8N9fImExxfgxzNkjlsj14HbcWXnpA3CIJ1LfsBn7HaFDtHNBvWudTYW8nCj96nXRgypAOD7XwygCIVgl8wfkYLHeK3v6jetCOZnAHx9ZkypHXDbKYQCH8hz3YmMmj5haDJ3TxapFw/Nh9/4TgaNexQvbhutl8xj2ZjVBV/Tyor1EY1iXwF3Rtjcz0m0y7tT3e5Wgg/puA4l2xwkBk7XCnhmI1FOOAh7ebzWWOuwU5wYv+nEceaktIqamWUMTX7P1/JKDtHDJC2itBVtBxjTnZ1WNuq5b7gpxogr9CKGBFDcH08RsUlAUbLWhqeY4pmGRM2AS0p0y/dhjwIgiH+lqTOBDO8xmbR1OJqUKpYWT92UkNmFMnrDw0WcMeDaI3xxJLL8LzkUxjxVBI0k/mXZnWMa6n5yqeErKlZ+J19/rg0MdBLU2fAuUuDw3/IeXtyX4VaZDpg3ICv1o6KGYSEu X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 14:44:17.6047 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0d34ae3-06ad-4940-71df-08dcc38210f5 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE3A.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB8607 |
Series |
Fixes for Tegra audio
|
expand
|
diff --git a/sound/soc/tegra/tegra210_ahub.c b/sound/soc/tegra/tegra210_ahub.c index 3f114a2adfce..ab3c6b2544d2 100644 --- a/sound/soc/tegra/tegra210_ahub.c +++ b/sound/soc/tegra/tegra210_ahub.c @@ -2,7 +2,7 @@ // // tegra210_ahub.c - Tegra210 AHUB driver // -// Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved. +// Copyright (c) 2020-2024, NVIDIA CORPORATION. All rights reserved. #include <linux/clk.h> #include <linux/device.h> @@ -1391,11 +1391,13 @@ static int tegra_ahub_probe(struct platform_device *pdev) return err; } + pm_runtime_enable(&pdev->dev); + err = of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev); - if (err) + if (err) { + pm_runtime_disable(&pdev->dev); return err; - - pm_runtime_enable(&pdev->dev); + } return 0; }