From patchwork Tue Oct 31 13:59:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Saba Kareem, Syed" X-Patchwork-Id: 160119 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp259634vqg; Tue, 31 Oct 2023 07:01:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrF8ejQDraD3N263d7k55nWcxveWXgQviRiXSka+UxdqRF2qr4UF/GOccMYKn9nCJduED2 X-Received: by 2002:a17:902:da87:b0:1cc:548d:4252 with SMTP id j7-20020a170902da8700b001cc548d4252mr5167673plx.57.1698760861818; Tue, 31 Oct 2023 07:01:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698760861; cv=pass; d=google.com; s=arc-20160816; b=uq/p8FGamyyZRqtDrD5Dx3qIix/60kqdTVY3FERjGJKsO4zyA9S43FOw/z4hBUdxvK ztCPT80IzvoPOYk6BGp//9dukGoFe3kE6+Vp5vGhOzTbWvu4nltN78dt3Wrp3icjGMjW yJnSsdRy31R4FIGFdB/AXC9xct/QPY3Bl+egNG6TMN+3+uyg0vUAOSaNNocqiPcJtAmK P3hZfwxzMb52lW9qsySYjfEGfs+3XEVRRXPuUaSGErOLbhPDZTGnbMUHYrYPtK9V/KFo 82lVpIW7rSeghCnGAmuVzw8RRgpAT0xZuDQnh5PcZtiwuzEGCHBcGryh6tiovF/jEm32 7dKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Fh19rdl5gfqBenFXtgRArfr4pwfyJJx3mHihtWHjAsE=; fh=OjT29F0eTlKcvvaK+nzQO9dAQX7kjQ6/I5WhgY9zCUQ=; b=Z9KCk555IrQpqMUIWHeq8tjbf9COpxlji4SA/r0VXE50kLGUH78njNC4bg+1m/mQQh 1Mlt1AhZ6nAsPkqSPywxinkFXyK6gyQWtKhWWgTR2eOXyqWJNuPpyLkrp41upHh+Idpb UroICA80twIL1M60C1l43RnH6iCaQl/HOe1ERgu+EdaR/fe7cnLeEikV/X46yO+x+YCB JgdFJ/EfyfJgcaMS5lQ/ZGvK5wf0KSHuqVp8JjKNGvUl6bXJh3DdFFvKcRdknF/p9d6I a+sZXNEBOvK+LxOo9+1H9SdneD4lCAd3CPOqoJG5UkzZyH5Jy+f4XG2CMlFJ6XWjMkzk uz7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="AXx6/a7q"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id kg5-20020a170903060500b001c3fa95ca03si1022837plb.9.2023.10.31.07.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="AXx6/a7q"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 169A78092CB0; Tue, 31 Oct 2023 07:00:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344730AbjJaOAJ (ORCPT + 33 others); Tue, 31 Oct 2023 10:00:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344703AbjJaOAI (ORCPT ); Tue, 31 Oct 2023 10:00:08 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2080.outbound.protection.outlook.com [40.107.94.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66617F3 for ; Tue, 31 Oct 2023 07:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRCRuze3qLG3wi5+5Iua9qfPS/fzcHKAi1Z/FGN4JxPRbTO38IFoJIJfmLmMxopke6zK2eoSyG5iSxrQxR981sYcUvbCmLRu5SOVaMiXmh05bvnEEtxsnYQ50jHMgebSSOFY0U3X/pblaMwdDHUjcTtu0FlThz0t999shYYFcRZdWIT+IeR5+LQ82Dq1Mu0p/OLE+8swJCKsgLsBdeNnmWtLxqG8Cr8GFGriOpehyYSX/q/OWB5V6K7ErOmtBn6qwLgtwkvrsaR9CFSoKhti1g1RrtsJbGzB4AsX+h+x4X38weHSgSKZJLSpAgtEURcmtClTxjY7U43JBbr1Gzn0kw== 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=Fh19rdl5gfqBenFXtgRArfr4pwfyJJx3mHihtWHjAsE=; b=ZqdMT899Hfze7TrnnhXqoAlaKHG+Gix0y355OGY3gkzmzpGU3wzZwWNgOpwfXfbsCUmUBjk0+SfZKEmu+UoBi6RlY8l1hZp+A1hWYe9MvVxZFtxsG59sqs8ktlEpozi0+2kUhgGcLSkQ1z1MPGq8Fxw5/Vs2+6MrhrmQREaLY9fF+gh289HhZv7Mqyv8E07W9bqz/ViJA97d+1bFV+Oukg/Ct1lIiVk9JRD03zu/qImwydyO36IMwpju0CILBaDhNFGzLqf3236iUMPkwP73O8Qwwou+5tTBHO9hPZP8H7t5nUi/1qaUdEUD9yWxCrvknppMhc26aF0Bzkg79IsgfQ== 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=Fh19rdl5gfqBenFXtgRArfr4pwfyJJx3mHihtWHjAsE=; b=AXx6/a7qBodLvRVEJTgIVavR6vtsHHdxMhg1is5dt/zbXswYr1TSIY6Sc/3hXjFCgahpk9xK3mE66tYca52wciFTAxtt3M05lnfj4T5gBuyLMtAKn3hPvPURt7ZGM6DzTFkMuFiZINFyERJLqKvaEnHstYBGFtQfzhP+HRxPvSE= Received: from MW4PR04CA0321.namprd04.prod.outlook.com (2603:10b6:303:82::26) by CH3PR12MB8878.namprd12.prod.outlook.com (2603:10b6:610:17e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28; Tue, 31 Oct 2023 13:59:57 +0000 Received: from CO1PEPF000044FB.namprd21.prod.outlook.com (2603:10b6:303:82:cafe::1a) by MW4PR04CA0321.outlook.office365.com (2603:10b6:303:82::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29 via Frontend Transport; Tue, 31 Oct 2023 13:59:56 +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 CO1PEPF000044FB.mail.protection.outlook.com (10.167.241.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6977.3 via Frontend Transport; Tue, 31 Oct 2023 13:59:56 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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.32; Tue, 31 Oct 2023 08:59:55 -0500 Received: from amd-B450M-DS3H.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Tue, 31 Oct 2023 08:59:50 -0500 From: Syed Saba Kareem To: , CC: , , , , , , , , , , "Syed Saba Kareem" , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , "Nicolas Ferre" , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Kuninori Morimoto , Yang Li , open list Subject: [PATCH 1/3] ASoC: amd: acp: Fix for indentation issue Date: Tue, 31 Oct 2023 19:29:32 +0530 Message-ID: <20231031135949.1064581-1-Syed.SabaKareem@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044FB:EE_|CH3PR12MB8878:EE_ X-MS-Office365-Filtering-Correlation-Id: fc08a05f-69b7-47a2-e825-08dbda19aa21 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hMg6LjTS9w7fLxyA4FgGF1qfYPbqKMPDq2JCLDn1vkdvWgxDW30obPzv7PlT9hiKy4/JmbkJIs4YmK1UErby0MaUcpGidPLc0LpNeJT5xg3mFlDet3xoNE4fcyb/FqKoW00SyVdb3d4t7Qd/D1o26q1aZftGv8l7/M2MQ/+j0YVofBJm5HpTlryrdVqWBTHfaqteECQWGzpc06t3L/d36ChPbw8EnLWv/V1fSl4ZGxcbYagpondH4bodmqhP8kuq4XHTG0CieC7sx71hocRx8yLY8dJcJ4zxtONHn6RRESoBgp/w6ViJbRu3YDmgwtj58P/cR/aOOC4MyXvOzmie81/0elzk9gifHDi/3VXHolbfZkcCeHQ34cF/uSQ3sZviKtoj6oZmfWYkOMyQfaYb82hByIM4LuO6rCaxnoKwdGguxX8Q/3WrdQyH9fh/47lyq22FryERqn4/JSBYYVD8XrPlGKjXBrkPEFeptV7z8m7FqHbLlGKYkBz2SIbhLJCDyfk87yH/GR1FzFGI0tP9bs0t72VMjYwbJcd66AvUbH4ei8iRUVFMJGlC49iMfK1sMMl6Ebv13jqg/fAdNhRQ8cu7vPyaRH5hMDBQ7KJtK7npQXLuv2qc6KZ1cqO9Nm7nG2KkCiccphYeZKa0Wd5c+26EWlXj/DSkNkX8K3TxoMTn+TVNi7/tjd3bVeUrOo1h+Gg/IhBTSrbhWG854EJ8mCv3LRha8bBtFlTf57aGgmyUKAxKvoVGceqYhf26tqCYWRFrCZRATWNv0ziWbRIr7Q== 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:(13230031)(4636009)(39860400002)(396003)(136003)(346002)(376002)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(82310400011)(40470700004)(36840700001)(46966006)(40480700001)(40460700003)(478600001)(6666004)(70586007)(70206006)(110136005)(7696005)(83380400001)(36860700001)(36756003)(47076005)(81166007)(356005)(1076003)(26005)(2906002)(86362001)(41300700001)(2616005)(426003)(336012)(82740400003)(54906003)(4744005)(5660300002)(7416002)(8936002)(316002)(8676002)(4326008)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 13:59:56.3943 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc08a05f-69b7-47a2-e825-08dbda19aa21 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: CO1PEPF000044FB.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8878 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:00:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781279869461235327 X-GMAIL-MSGID: 1781279869461235327 Fix indentation issue reported in acp70_pcm_resume() function. Fixes: e84db124cb21 (ASoC: amd: acp: Add pci legacy driver support for acp7.0 platform") Signed-off-by: Syed Saba Kareem --- sound/soc/amd/acp/acp70.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/amd/acp/acp70.c b/sound/soc/amd/acp/acp70.c index dd384c966ae9..1d699c96f619 100644 --- a/sound/soc/amd/acp/acp70.c +++ b/sound/soc/amd/acp/acp70.c @@ -229,8 +229,8 @@ static int __maybe_unused acp70_pcm_resume(struct device *dev) } } } - spin_unlock(&adata->acp_lock); - return 0; + spin_unlock(&adata->acp_lock); + return 0; } static const struct dev_pm_ops acp70_dma_pm_ops = { From patchwork Tue Oct 31 13:59:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Saba Kareem, Syed" X-Patchwork-Id: 160121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp260012vqg; Tue, 31 Oct 2023 07:01:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFVRgeHBMs9PQihHTYvgeb/PMcHE5PbUxM+qh8rTzRkrQSpDmCzNRd5a7DJ212TVgpuH0p X-Received: by 2002:a05:6a20:6a0d:b0:160:a752:59e with SMTP id p13-20020a056a206a0d00b00160a752059emr15499882pzk.40.1698760883388; Tue, 31 Oct 2023 07:01:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698760883; cv=pass; d=google.com; s=arc-20160816; b=d9K8wL5BTyzYsGaUfJYXttGeXdn8h7sP0rbRJq5NXjdDVGvMct0GKyVocw0wDKHu++ btM4A90N/FddZ23f8A5vVCHOovtHehBxWLfMG9C+jLVlPTs82nBpL3kXnq2q87PSUbJu kAVuihG13SZzT067yfgMdvIE3h/iE7X9+JotIQZQ9ACCu8UYc5jYKbS2KtqK9Wpx+ES8 ALxIf3tNxceMJ+iBUAXHgB/brkYIZDy42MId7Xdq34TyC0y5VIh7SwI3SHNxa6SOT2H0 oFeI8IY9MDaM3ODHBap/uBOc6oT/9/McekhzFhC6+Z8VdZxxPwE9PBrpMt6iBXWlnWVg zjtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/0WP9MYgxXPuvC+LrBt4lBsoTRIVGjH9C3ZhcX0D0es=; fh=hmfnlYqzmAQ03O9rtmAt7F/5i1vSxgjikYpwKXLw+2Q=; b=xgh/i9Ty27cXHl6tCly6EKYaWT5tKG+1D+lA+Vhgh4jYD+P9lawyKvnwk6+lCgoBac xc+NcbbljNUEdVxdiqMXfqSF8f1Oxbp0pXvWHL9paEI9SVAKqCLfTRJW3aahf4KtJBYq PVfBjsaG0+5xlPNumffsg/9x3G0QhUKp4iRcXta9w4iu2q6r8qwAZmCuXVM16ToNCj4S B4yWxuXORBAwUXMjTkVxVm8dc98PkAsh1r/DVsJ4ZAJSAK9wtxpJ15PGrRsByRPZ/2e0 QxbTotVgOpvJapPedLNk0Sdqq40Ly2cSDb2NtvScABgGbjr++NthC2C/JTG3iHNfbEAM QQKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Ci7EA5Bn; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id 11-20020a63020b000000b005b3b889619asi1059551pgc.606.2023.10.31.07.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Ci7EA5Bn; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 361298096FEA; Tue, 31 Oct 2023 07:00:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344744AbjJaOAS (ORCPT + 33 others); Tue, 31 Oct 2023 10:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344741AbjJaOAQ (ORCPT ); Tue, 31 Oct 2023 10:00:16 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2052.outbound.protection.outlook.com [40.107.244.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54F6FF1 for ; Tue, 31 Oct 2023 07:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ur+LH5mWVGPV1JG5MM4K4SLXzvfADlL7vyKbcLLR/yzDbvR1UyEiUFVjHt/3ndgMBFjIdDtYsdJGeIWb+YpB+GsjK8tDBDYqn4svlX+0Bwft57Wb3CbWth075yN4L7wJN6+wAQ0w3yXrY8x3RoSiQoUlL0zrACuPhk1y5+978Y2wxUVI5fd4avnGftoccOZ3Mr1Pi0/V0QUWmP+AANfiRt8/H7O/Tcy+eN+LvaCyDmay5t4sAzcEaLx1aSrUtN0KDqimoBKdcI8dhv0RKxtioBlU+35ns6vfRvSppTGzYUpRCY4wG3Ody0Iqywl7Wt2gtzFwv5plD0G/4svS7W+1TQ== 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=/0WP9MYgxXPuvC+LrBt4lBsoTRIVGjH9C3ZhcX0D0es=; b=R2YefImHj2h1o2+h41eIsKPsJAm4/9tNsaIDdeD1w8hScEa0ZqWCiiLst47zGQgctz6KBzEDHttVXd20cl0xv5OoaB1PHKi+Jw3Neu+3yWoPkpE0EsGUk0SN09WR4M0nkSc+o/ve5tgFL9aedYBfJtgA2CcuuNaN2AGi8yJcmjXlcEnsZAMQDU3EH468YuEzg1z9ZyJRNfPteMeBQjt5KEiWoCah3x/NmuYbl4+2JC5Rxr3PZwG4419QDUgcM44IjfmFYR2BLVzif0O2W765pZls/P9Ia50kaM/4r7d3EDTalww1dsrrJb93s3yFr2CukiKwkV7xo+tlicnSlzqCjw== 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=/0WP9MYgxXPuvC+LrBt4lBsoTRIVGjH9C3ZhcX0D0es=; b=Ci7EA5Bnqc6V2LJEdqCkF+dhe42dNs6cUH+xYXqAuRP0TEFysW8IYttPg+Maghceqc0m65xAMEF+OgtClbC68hBePVIPsJCN0NLHrdXZ3wWbqLbTq3EH/88RmEyjPF937SLYyD2n6j6eCICyDuc5BWtkycGpHeSDLR36ND9gbfg= Received: from DS7PR03CA0050.namprd03.prod.outlook.com (2603:10b6:5:3b5::25) by DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28; Tue, 31 Oct 2023 14:00:09 +0000 Received: from CY4PEPF0000FCC3.namprd03.prod.outlook.com (2603:10b6:5:3b5:cafe::fb) by DS7PR03CA0050.outlook.office365.com (2603:10b6:5:3b5::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Tue, 31 Oct 2023 14:00:09 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by CY4PEPF0000FCC3.mail.protection.outlook.com (10.167.242.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6954.19 via Frontend Transport; Tue, 31 Oct 2023 14:00:09 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 31 Oct 2023 09:00:08 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 31 Oct 2023 09:00:07 -0500 Received: from amd-B450M-DS3H.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Tue, 31 Oct 2023 09:00:02 -0500 From: Syed Saba Kareem To: , CC: , , , , , , , , , , "Syed Saba Kareem" , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , "Nicolas Ferre" , Kuninori Morimoto , =?utf-8?q?Uwe_Kleine-?= =?utf-8?q?K=C3=B6nig?= , Yang Li , "open list" Subject: [PATCH 2/3] ASoC: amd: acp: correct the format order Date: Tue, 31 Oct 2023 19:29:33 +0530 Message-ID: <20231031135949.1064581-2-Syed.SabaKareem@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231031135949.1064581-1-Syed.SabaKareem@amd.com> References: <20231031135949.1064581-1-Syed.SabaKareem@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000FCC3:EE_|DM4PR12MB5373:EE_ X-MS-Office365-Filtering-Correlation-Id: fb15636f-49a4-4db3-62e9-08dbda19b1d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lr40BLkpKnF1FE9yQIToM77dsM7z13JrUSS5OHXwXbI3FdnpRpQqySXqTF8qdcSTQCxNWH3rQ5upT9p4oqH2Q00xaUqAYVfxhss7jlO85pU5yNisNDYELMl+pHxYgfIAY9PxzSr8EcD0ahl7+a/nqdTOuav/F0+OXrHjjKxW97xTofGq+BRMQMmvFqRcFNMrZHeHDejjWfm7xs5GQiZChTB/iAwW73JkAmwX1fZPYc91fxrhOvODQJSrxcl1/WtSrl3YB9TEryylbRmNAFC57UeyClet/iMr5SbYQn2+8wmk7sKTfxF9Cam4cGZqvVqfLA2emvduyGWse6v5OqF7fe/+rE/qNhVqDJMPjNuj1ifvF5TzKsg0+P7GztJqopR3nEonydnvJioCvLnzEZR3Da8XuAlHlw8jK6htGA2Q63b2uEYBnFeqN8F/BYHhpqSeZ8zyqYSpDDU6bQ32t3Gi5QiNDCm4a0BfADOCbnKn9XPtAK+T+ulI7tyJIyVU45wF2ucIyvSHT6dmx/HpTrT3kc36xJPbgmCVz/W+EGjhhwrjZEyuOVt8te+IdD0eIrsK0EJZ8TimKisiaGjAbYdzWoFuX0R0ygJfCeYU0Y2AG9a9+rYIsIfoze6ijD/aGXXa+piGlsQ65I6XVkhse8NHDcBhjuDHB9vcA8/3vDb4M1RhA8OByhDOlo3wzczswzJ80lTo1Cnhappz30Ggw4SNB43M5CsETeKElOGSZoAt4utZ/vdPxgYWsYaLIYCHxfilNc/LiJ2682h90HLQk8e88g== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(136003)(376002)(346002)(39860400002)(396003)(230922051799003)(64100799003)(82310400011)(1800799009)(186009)(451199024)(40470700004)(46966006)(36840700001)(2906002)(40460700003)(5660300002)(7416002)(41300700001)(8936002)(4326008)(8676002)(86362001)(40480700001)(36756003)(82740400003)(316002)(6666004)(54906003)(36860700001)(356005)(47076005)(81166007)(70586007)(70206006)(110136005)(2616005)(426003)(1076003)(336012)(26005)(83380400001)(7696005)(478600001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 14:00:09.4512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb15636f-49a4-4db3-62e9-08dbda19b1d2 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000FCC3.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5373 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:00:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781279892329158701 X-GMAIL-MSGID: 1781279892329158701 Correct the formats order for dai driver structures. Signed-off-by: Syed Saba Kareem --- sound/soc/amd/acp/acp70.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sound/soc/amd/acp/acp70.c b/sound/soc/amd/acp/acp70.c index 1d699c96f619..0d7cdd4017e5 100644 --- a/sound/soc/amd/acp/acp70.c +++ b/sound/soc/amd/acp/acp70.c @@ -52,8 +52,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .playback = { .stream_name = "I2S SP Playback", .rates = SNDRV_PCM_RATE_8000_96000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 8, .rate_min = 8000, @@ -62,8 +62,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .capture = { .stream_name = "I2S SP Capture", .rates = SNDRV_PCM_RATE_8000_48000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 2, .rate_min = 8000, @@ -77,8 +77,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .playback = { .stream_name = "I2S BT Playback", .rates = SNDRV_PCM_RATE_8000_96000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 8, .rate_min = 8000, @@ -87,8 +87,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .capture = { .stream_name = "I2S BT Capture", .rates = SNDRV_PCM_RATE_8000_48000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 2, .rate_min = 8000, @@ -102,8 +102,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .playback = { .stream_name = "I2S HS Playback", .rates = SNDRV_PCM_RATE_8000_96000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 8, .rate_min = 8000, @@ -112,8 +112,8 @@ static struct snd_soc_dai_driver acp70_dai[] = { .capture = { .stream_name = "I2S HS Capture", .rates = SNDRV_PCM_RATE_8000_48000, - .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 | - SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S32_LE, + .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8 | + SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE, .channels_min = 2, .channels_max = 8, .rate_min = 8000, From patchwork Tue Oct 31 13:59:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Saba Kareem, Syed" X-Patchwork-Id: 160120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b90f:0:b0:403:3b70:6f57 with SMTP id t15csp259845vqg; Tue, 31 Oct 2023 07:01:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEC3Lxn4ltbPjBDk+T9b+Vnz0HaARIkjjoQHrpeqPV/P9xIsWum/CHyTJuQIWR/d/RaoJlL X-Received: by 2002:a05:6a21:a598:b0:17b:7dda:c0fc with SMTP id gd24-20020a056a21a59800b0017b7ddac0fcmr12616246pzc.8.1698760874028; Tue, 31 Oct 2023 07:01:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698760874; cv=pass; d=google.com; s=arc-20160816; b=ZujbkXfj6BiG+N6H4zhNF2HW5wq3aHxqEcRkKcoUWLIvqDo30QMeumYNErgr6fIYKD wunHY9lQvU521W3tXVO0FdhwYUyqkffKdoptpZRL6yRBbu3dRt2NRQATM6GYJE0dooo9 +JLv18VIdqyUONLMJVRdFQLIeKAnyfJEUT+eksjb6+vmfYEj2PgcsCdoB0PkTOr/7IuJ RWffG3Mkrxvv64EXHMEvgkoHvzRjv+IzyUSE2HnFbuMomkjj3z5Hq0rDGknb6wxD/y0T 3mYTHj9Jb7WMag+1SUIrQL6dK0hpHobcHIvHwpVj0Y3Zulgl1H4edsyEpNGm4JRDTGYL YsaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+eFHeEmlja6s76hfAStc7WtN+wV59pQynXlQMMP3eXs=; fh=sEfgbyTyjXaqWqT2EE2eYF5kVw4Qvyr/pVTdqzRzai0=; b=rkqdm73zVXQoyACH9BpiV+UTzQdpHduh2PTQlVSH+vKqOLCnbuAOtVzKFc8i3LCXoc z9Gl7ezd02SpfmG/Oa0UBSmONCOpi8cSJb6lcg+g243JysogQG20CPO2dqBlWxoAV/DJ 2ZtGl5BkW3YyASQUa6aYULExf8PXgtLtkAz9z8BZEhBCBnhk3L5TBLhOtTZFnS57oAtg pQK9Sf86DIFJ1tzuiByrsZXAv/+ZQw87f3uDRWqU4pshXkVYKDgGTadnQw6P2z1ptr57 +oQPH67ejn6sb5zTntrniMYVv8idbLSCCQ6EmDBfL7eOrKOAgfP6pqVK+XJcFSZZgdse xlEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=FFqjZi91; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id c128-20020a633586000000b0059b70e69eddsi1082121pga.300.2023.10.31.07.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:01:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=FFqjZi91; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DB82780B7AEC; Tue, 31 Oct 2023 07:00:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344736AbjJaOAn (ORCPT + 33 others); Tue, 31 Oct 2023 10:00:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344740AbjJaOAi (ORCPT ); Tue, 31 Oct 2023 10:00:38 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A202AFE for ; Tue, 31 Oct 2023 07:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BBTtngCI4mFbbvqfmR3shGP4MlYOxAU1LYv0qf2gUL74BmaIXPeQ7epxkl1VpsGK6Rr27PiJ9xnrLimlROl/mR5jzQQQlQlGyOBH/ATW5Nj+GMWl77ue1WXc94sod79eUuCdgQ4D+NFO175M15oDxVUyv1LWwo/pLv1niRbYAIYo29B3mVnyi4SEv2Vdh6y7ZkEImnUPQhPJ0Ru34RmR4wq1GAkDW60dqMZcjF+CVC/Lsggf+aB9BXzLNqFqh4InykqkdPd585DazwVhFUmAXDew7lVKPv6SEap4c6eA9EpiwpUKiT6U9ovEGcH0wrsyFtGpiI+2SQ8T0OebtuuO1Q== 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=+eFHeEmlja6s76hfAStc7WtN+wV59pQynXlQMMP3eXs=; b=WAh3q7mKaA8jbegUtNBDBelrEKnK7SGFkFVqzf/XVkaAbDfh9L3VSbszudbvn9XEamuoO3JlARAQzl1OOJAmqNEhed2gIH6tv2iG8I474pq/vBRRpA/XYSQ6LEapGspDLqmFF8MzIEOVbv1vk3/LFb4mJ3leem5HXv7x0h1Tze3t2xmh74UKaxBdnibupLWADatsShABi6P9s5rQyTuQQxiDWAsvLF0irNv8RTFQIZwhp0Aj3poEz5cu4jcat8pFbpBQQE5503RnaUAkyGv84StbmWVPlYE4aEsByQwcbQuJ5v9cYReKTzrF74unBqLFD4Yt6+YpADkud3MAVC90fw== 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=+eFHeEmlja6s76hfAStc7WtN+wV59pQynXlQMMP3eXs=; b=FFqjZi91SZPK2UT4jep9CfLYlb+v+sTKCj3/QMPiH4uWwXE9ySw/VNhaBRrDVlZWXF97Dkkdm0VCYCJYVnQvNgeHVeN7ANBkN8HqTSps87DJ3U3XvIh+AoiQE5JxNLU+hnb/2fv/CRyHR4orRCKHdx7Krlwgt0Yck/mWQ2nrwpw= Received: from MW4PR04CA0303.namprd04.prod.outlook.com (2603:10b6:303:82::8) by BL3PR12MB6548.namprd12.prod.outlook.com (2603:10b6:208:38f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.25; Tue, 31 Oct 2023 14:00:32 +0000 Received: from CO1PEPF000044FB.namprd21.prod.outlook.com (2603:10b6:303:82:cafe::c4) by MW4PR04CA0303.outlook.office365.com (2603:10b6:303:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29 via Frontend Transport; Tue, 31 Oct 2023 14:00:31 +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 CO1PEPF000044FB.mail.protection.outlook.com (10.167.241.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6977.3 via Frontend Transport; Tue, 31 Oct 2023 14:00:25 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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.32; Tue, 31 Oct 2023 09:00:14 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Tue, 31 Oct 2023 07:00:14 -0700 Received: from amd-B450M-DS3H.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Tue, 31 Oct 2023 09:00:09 -0500 From: Syed Saba Kareem To: , CC: , , , , , , , , , , "Syed Saba Kareem" , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , "Kuninori Morimoto" , open list Subject: [PATCH 3/3] ASoC: amd: acp: fix for i2s mode register field update Date: Tue, 31 Oct 2023 19:29:34 +0530 Message-ID: <20231031135949.1064581-3-Syed.SabaKareem@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231031135949.1064581-1-Syed.SabaKareem@amd.com> References: <20231031135949.1064581-1-Syed.SabaKareem@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044FB:EE_|BL3PR12MB6548:EE_ X-MS-Office365-Filtering-Correlation-Id: a610077f-511a-4d67-ab61-08dbda19be89 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P14yXyWnDWMUl3P50hfv2+2xJ2mRNz7cb6oTklj4M4LwrM29QD+AzesKnGdidDcNXj50nR8gnvbqnWRo4xohCW3iLOGje7c7yw6D863D5VaD7Me3BYFAvE04VSYwKBjLSTpHoDTkmZ6G6OxsejxNTBQYpfIng8dlLPPQFj+KvKRPt4rqRvuqQDY4GdX7WraZcKKftE50O++mSt6ctwW9ywgdyk9DOE2GBWi14DR/hE5GgXutoMDLw2tQVIZjo01Psm+TW6oq2lXrU72CCkO1+rQoynvf/xjSXsos5PTQ4BHiWhKCsWutQV1NpeGtC0SWUwo73aFRMgS8VVlVU7sIvvi9iY/vf4ZynBw9Ck+Jr9Zi1HzZjb7ag0PmsOwD+1TMadJXtsgPuv73YTYxRY29JhDgBSF+oX6aB5mfiPWBG4vayUd2V9g493v+NaRVeoU9rRSn6Ib3NCiRHo1xKCip+4jr13f9eAb3WHldfmsU+rO9IDzWEGchmQnSuv1utu3jGfQobE2gkUCAl06HR5rzOrbMHGgVku39OydNrrpdljljANT16nm2dl/h1Hx+BEC5Kn64EmZajYZVFCrE41edlJHm2Wf3Q03Unsw4vSEzqm3RaXyMtbvcyTaS+c2jPuuAOXt4lExFA0CBLVlHZhzwpGjNGe19sPjEN8lwRBzIRKNRZi13yZEE4EOaEiDt1SxU5+D/2aDlTSBYn7+oAhIGYDb92jZTlzQovi+VXeLbgvirs89bPOVSlG7r3aftaO9INWf9xFtaa5bPoTmJP7Nkt97uXfRdwRshf9tXiU7/P80fGEZsytij6lecE4tPlhbg 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:(13230031)(4636009)(346002)(396003)(376002)(39860400002)(136003)(230173577357003)(230922051799003)(230273577357003)(451199024)(1800799009)(64100799003)(186009)(82310400011)(36840700001)(40470700004)(46966006)(15650500001)(40480700001)(2616005)(1076003)(26005)(2906002)(40460700003)(86362001)(36756003)(81166007)(82740400003)(356005)(47076005)(426003)(41300700001)(5660300002)(83380400001)(478600001)(336012)(36860700001)(7696005)(6666004)(8676002)(4326008)(8936002)(316002)(54906003)(70206006)(110136005)(70586007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 14:00:25.6131 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a610077f-511a-4d67-ab61-08dbda19be89 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: CO1PEPF000044FB.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6548 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:00:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781279882292989455 X-GMAIL-MSGID: 1781279882292989455 I2S mode register field will be set to 1 when tdm mode is enabled. Update the I2S mode field based on tdm_mode flag check. This will fix below smatch checker warning. sound/soc/amd/acp/acp-i2s.c:59 acp_set_i2s_clk() warn: odd binop '0x0 & 0x2' Fixes: 40f74d5f09d7 ("ASoC: amd: acp: refactor acp i2s clock generation code") Reported-By: Dan Carpenter Signed-off-by: Syed Saba Kareem Reported-By: Dan Carpenter Signed-off-by: Syed Saba Kareem Signed-off-by: Mark Brown --- sound/soc/amd/acp/acp-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/amd/acp/acp-i2s.c b/sound/soc/amd/acp/acp-i2s.c index 1185e5aac523..60cbc881be6e 100644 --- a/sound/soc/amd/acp/acp-i2s.c +++ b/sound/soc/amd/acp/acp-i2s.c @@ -26,7 +26,6 @@ #define DRV_NAME "acp_i2s_playcap" #define I2S_MASTER_MODE_ENABLE 1 -#define I2S_MODE_ENABLE 0 #define LRCLK_DIV_FIELD GENMASK(10, 2) #define BCLK_DIV_FIELD GENMASK(23, 11) #define ACP63_LRCLK_DIV_FIELD GENMASK(12, 2) @@ -56,7 +55,8 @@ static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id) } val = I2S_MASTER_MODE_ENABLE; - val |= I2S_MODE_ENABLE & BIT(1); + if (adata->tdm_mode) + val |= BIT(1); switch (chip->acp_rev) { case ACP63_DEV: