From patchwork Mon Oct 7 08:53:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 833355 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05C23CFB440 for ; Mon, 7 Oct 2024 08:54:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B9F6E827; Mon, 7 Oct 2024 10:54:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B9F6E827 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728291267; bh=9aov2+c8SZZyFU7dy05oyfwvTugfFW08cHIIdjPGTLM=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=jZAJ7+8zedD36tbnEPBDDHLajG/IoUazLtgVPXCjySMXb/zaOaLAFRMivFRgGNxVz At91LFdhvjsLOftruMOl34prwBmXZpVw6ba1X40MEU+dzAc1I2RHfwuQ/ueuFXCLCu migR+eSN3tkLPgX15ZkD25ZU5/Vch6xSuSxiM7Wg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 82857F8059F; Mon, 7 Oct 2024 10:54:05 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id E40FFF80580; Mon, 7 Oct 2024 10:54:03 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 243D0F80536; Mon, 7 Oct 2024 10:53:54 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20618.outbound.protection.outlook.com [IPv6:2a01:111:f403:2416::618]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0C96EF80496 for ; Mon, 7 Oct 2024 10:53:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0C96EF80496 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=ExpCYC7M ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sxn632u4ld6M1yuBrBgesppFvCnhdlQhwH3UqVLFuxvSlf+B6Xaoeh708Ja7zApCDD7SsA7cimuIR7+pD7Da3O0dfghsA4WzOqpnwiY98zRfMLxU9IT1SRfQlJX/RI5OF9y30AnENE+d6sOBxzYiQjNpRr9o5PDjpFzwOoRw/0ppXZz3mle20g+zEZ5KfLO3bFE1ed7Dy/s8tpVk3zF/ojPkhCfIrWN0I/6ozOcsidQfJLqFNE97WLM/60dSOFHfGE2JQ7DE6rkB7h1dWbZhxGVxTRhC2yjxB9e63VNcMnlXqW6D9RkhpiT7OJANnLGw6delsf/RT3BXoAWSXp6XCw== 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=1Y4hxOiBVN12gJpatf3Xa4RNzPJc7YZuyZMiBm3RvQY=; b=X5I835PMynnlbGZCoXEmBNo52oD0WmsG28s/a2Tc+K6V5c/db5JGP5faiiz1q9X/69akRou7gV9XOfcaVS3ESt+acJHgQetgO1ql1ek6Q9edVsiVpo0bJMTWQZ2ivi2MAra9b+s39bDwxjS0NXeClvC5vUynrgUfKsQ0Q7Yj9KMcnSfQNGoZOkA2dnlL+GNkXC9TSx1nefx7zyP4vEhZXq5UJtbmuZT4LMij2cvBpkzcKUQB0bFGUpzR3f+i60xJtktQY8Cazdxi4lIRcTx/6hV8SlLhNRoEgKBtinpA1N/Sz9vQZsu5uTgaUxbRsw9HK0bNdkWoVHqGOKwL96ejDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Y4hxOiBVN12gJpatf3Xa4RNzPJc7YZuyZMiBm3RvQY=; b=ExpCYC7MIejj3Xy9k7Q/tmc7eOjOJB+Rni/zGKQDeAL8EMVn5Z7GHrdSXm563mfnARj+anrnc96JX1JF9stL0/CFNEW7ijOPYyITbLoBl3yUtOPiqwMwyuS6Ux9SbI3WxKcibFx7+UD7BsdDVtZkCxq7wpKzzV9TlfbAoJxCmsg= Received: from BN0PR07CA0005.namprd07.prod.outlook.com (2603:10b6:408:141::20) by PH0PR12MB7792.namprd12.prod.outlook.com (2603:10b6:510:281::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.22; Mon, 7 Oct 2024 08:53:42 +0000 Received: from BN2PEPF00004FBF.namprd04.prod.outlook.com (2603:10b6:408:141:cafe::a6) by BN0PR07CA0005.outlook.office365.com (2603:10b6:408:141::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.20 via Frontend Transport; Mon, 7 Oct 2024 08:53:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN2PEPF00004FBF.mail.protection.outlook.com (10.167.243.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8048.13 via Frontend Transport; Mon, 7 Oct 2024 08:53:42 +0000 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 7 Oct 2024 03:53:37 -0500 From: Vijendar Mukunda To: CC: , , , , , , , , , , , "Vijendar Mukunda" Subject: [PATCH 0/3] Fixes and improvements related to amd soundwire machine Date: Mon, 7 Oct 2024 14:23:18 +0530 Message-ID: <20241007085321.3991149-1-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBF:EE_|PH0PR12MB7792:EE_ X-MS-Office365-Filtering-Correlation-Id: ee359e12-a7c4-4efd-ecb6-08dce6ad8b56 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|376014|36860700013; X-Microsoft-Antispam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XsmYHR2CIYta/m2FdpHGG2pTU/GLten3g2vGxvJ0wjYR8+P/ehPW3NHnunVn+AmDOPsW+SyPHjDiQuCX1KJgY7ipxi6xo6ktQeZur2mArXf0hRridmkDK0pppGClHj5oHD0iwRTu6s5kdk1b8mECD2SkbNV8BnJfAGtu0tJhpOZRqpIt7YSYBl/Lu8eWvUV0XHs07oSLAPMhywTjr/9W2kuL4mclO6B2qbCBMvg4KCAdBn7Nlqkk1MTzXx+EaBNdB8QqZl21tLzps5ltELCX+S6+0c25hxcX87DCzlSb4mVclyurntDOlvlovRhH6JXypStdZveQY8nbQIjI X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(376014)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2024 08:53:42.0603 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee359e12-a7c4-4efd-ecb6-08dce6ad8b56 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF00004FBF.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7792 Message-ID-Hash: QL3ZGAYCQ2HHXCEGVKFARMYUVDW245FO X-Message-ID-Hash: QL3ZGAYCQ2HHXCEGVKFARMYUVDW245FO X-MailFrom: Vijendar.Mukunda@amd.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This patch series consists of smatch error fixes and code improvements related to amd soundwire generic machine driver. Vijendar Mukunda (3): ASoC: amd: acp: fix for inconsistent indenting ASoC: amd: acp: fix for cpu dai index logic ASoC: amd: acp: refactor sof_card_dai_links_create() function sound/soc/amd/acp/acp-sdw-sof-mach.c | 47 +++++++++++----------------- 1 file changed, 18 insertions(+), 29 deletions(-)