Message ID | 20240924061821.1127054-7-Vijendar.Mukunda@amd.com |
---|---|
State | Accepted |
Commit | 0a374a2dd0afa7ba431fab2749197374cf95fb67 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 E0371CF9C71 for <alsa-devel@archiver.kernel.org>; Tue, 24 Sep 2024 06:21:18 +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 B325DE76; Tue, 24 Sep 2024 08:21:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B325DE76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1727158876; bh=DiAKOqiKFPugbD/RAZwSuLANvdC+UC3LkmazT4ORcBU=; h=From:To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=bSC2v9ZJiZhN9I8D1McNtneFFZXmuEQLJsPJTQ45lncvsSlBs630n0jCWiSjcwBwv f+vsgjNbjAKN8r6DQZyzhUw29qn/ClTPcH4JhnU8UOFkIs5dGmpYq2l2MgSJOPRBpy T9jwNG4HrXXTKZ2aGXJyv2jqjZAkdenVTwi4UGa0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C70CDF806A8; Tue, 24 Sep 2024 08:19:26 +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 D4ACDF806A8; Tue, 24 Sep 2024 08:19:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CE5B5F805DF; Tue, 24 Sep 2024 08:19:06 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20631.outbound.protection.outlook.com [IPv6:2a01:111:f403:2418::631]) (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 A5010F805AE for <alsa-devel@alsa-project.org>; Tue, 24 Sep 2024 08:19:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A5010F805AE 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=jr4KbNcV ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IniRw6TCITl0W95FhAfVEZH3plckLc/3l6CF9GZOsQRO9c71sHxAgJdu3yl9FnCKttQi+pwvt2A+HfD91/AcMJ3xTR2zaaQ8oRSiCO7ybJwJEZCRGxAO3HGZvRzJySmWgl3hxy4s09K+4uZSZodth0+yDTkEZDijP+yOzqejXDKTfYWTuBZkRT1jYLx8JXrhhkamVBgJ5yLrUhQ07KW7gh1NYi1s53Y1ts4P9G7z0fxG+udISsH3pv+BF+QqfPd0m0o8mOOhNkypiYqa3WZJRoadp88emn9hF9bnflCaVVcQBFEFypNSxrgkgrtbHZ9AAsfSplnIEtbGEly15hoNfQ== 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=X46RqgqZ7sreYeGCiFtVznCnB+4XSiFcw4i22prFr1E=; b=gvF2hAvfU8hTep9rJOySXbDgK/sH/Vl+F5WDkQsmOzY74Y+udHoHnNX11O7YsyyfukfGUaCCJnXpeemXjUjHU+zkvvFwI2nP43x71JV95DdwzlXWbHm1vpqL+yd/8koOxF6c2epylg+xcoPL250+rBYQ/YxNuWdUmeedm+ksH4wkqGoNWuSyA7AvTVPQn/axLQ9fk2R7m/v2CDU2luFdNzHTkUzC/prmEBbQGlGycjcbOjXbVX6fP6wZTHvSsdO6Vm6TOgguv5HP33b/Gqar/9rnRKaET41vUYlxzMqCecbhQ7Jny+cSHAFJDdp9TT6YHV3IBEKqJvfl+NnmdopIOg== 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=X46RqgqZ7sreYeGCiFtVznCnB+4XSiFcw4i22prFr1E=; b=jr4KbNcVX7D4xvZfoCuV+l0yxvP6kcBSeKDmxxUVWMnUZWcChL5mET7OxN92MZtRjfCUctsWgee4ztpZoJxgkWl8+n2yh2Ejok6XpD4GqNCJ9QyNO4TV6XOTDyh9kUqWwOQ7P16gLezjDG/+czQIwY7us7k5mpS3OmN0W+mY1Ds= Received: from PH7P220CA0036.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:32b::35) by DM4PR12MB6304.namprd12.prod.outlook.com (2603:10b6:8:a2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Tue, 24 Sep 2024 06:18:59 +0000 Received: from SN1PEPF0002BA51.namprd03.prod.outlook.com (2603:10b6:510:32b:cafe::5d) by PH7P220CA0036.outlook.office365.com (2603:10b6:510:32b::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27 via Frontend Transport; Tue, 24 Sep 2024 06:18:59 +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 SN1PEPF0002BA51.mail.protection.outlook.com (10.167.242.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8005.15 via Frontend Transport; Tue, 24 Sep 2024 06:18:59 +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; Tue, 24 Sep 2024 01:18:55 -0500 From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> To: <broonie@kernel.org> CC: <alsa-devel@alsa-project.org>, <lgirdwood@gmail.com>, <perex@perex.cz>, <tiwai@suse.com>, <Basavaraj.Hiregoudar@amd.com>, <Sunil-kumar.Dommati@amd.com>, <venkataprasad.potturu@amd.com>, <linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Vijendar Mukunda" <Vijendar.Mukunda@amd.com> Subject: [PATCH V2 6/9] ASoC: amd: acp: update mach_params subsystem_rev field Date: Tue, 24 Sep 2024 11:48:18 +0530 Message-ID: <20240924061821.1127054-7-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240924061821.1127054-1-Vijendar.Mukunda@amd.com> References: <20240924061821.1127054-1-Vijendar.Mukunda@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: SN1PEPF0002BA51:EE_|DM4PR12MB6304:EE_ X-MS-Office365-Filtering-Correlation-Id: f2888e9a-a731-46a5-2230-08dcdc60c72d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: MR7VZNPHiPwTjtpICOrSC9xGCm+kkzopvvkhYrcawVyxMIXe5Zo7a87TjG/aJs6kGWwrkbLIxp1mOzgVUP9tYl732ML6SY+B+HrBL5YA2yv6IHOCG5dV2WM7A+tCwKuYC1RB831OfShW05Wu0Z5BWqJFfRwnFRRVeJdDyRel12S1zuYkobAOZBp3dTVP/dkVpkwjG6PIFo8GGxYXaL3/AhqShjxxex2PS2VFbqMj6e/iRjClTJ91SvmwqDwaZIpD8DTyVvBhiTG7nnOMjLvJ/t8u98LDInHpmrvvWB560KZyy5d4xK+40B6HXC3TH6UaRMjV+zsFbtdi7B5JxpoQbRihG32bM/CNkuhsFdOAC3XftIHSPX9gxyJoBCfxE9xkRfEXCPP1yh0+H5O4YI2PAxBkYI6PFaG3zOfzKtez9pdPR4WZsg+xPh60nfscUpzLntFtqcsu+wHTIuDOnTikeExp9freSGt3wiDiYG4JvNT7e6Asnt8Ng0ekGe6dZI5O/DFlYaZfSVcq8dCUwuBQQZQVANBn+BEJroAGIQ0Zr/RmRAzwmb44MpzaP1aVrQ/NLXVHOcPNns0z1uBP7dY2D4pYBXX8FMFmUoAHDDgztrgFwen/sDn9/f5IHhhZUGFxIpaYvk5BjXxWdczG8iUSfQ27cidSLhV/B3uWDtqfm+Nl91iS+1gnPK8qEUr9zGP5P7ojFtilr9wyKFtLtR/P4ANLz45Izz5TfN5tyWqSbb3qe8Fytv9oTgKFYEZLiqVlG4Q0j/xKFmuJipOs3avtxA4SWktnIg712dYtzGUxOpZLnHj95XTmQ8CFdUoRVHw4WVYLZ6GDoaL44kApLg6i9je2OkdFJoCuTaJAz9S5RCSmy655oTk/PBUeKDpD23UMxLGOVxehfN/MnMRIN02haUDFCpHW0Z+5qxccWEIeOXlipTSXcyYbKrM5Mzzakn4E7WGM/FfSMuhI6LcrtapNTdMgj3KPlxc82945t2fYe9irBS5KDrC1nIoLCMjWBxYLKL+Hnhmi/EBhtldSMNGe45WyeH76MakqSuB7GAFsNLpKU+Tf0Bosa6oTUcoaQDOQBzAAlma/PylhRCYpBpEJU8aCyLlldvf5E56RfQGelKcGpeAkwo0jrupkU9x/mWGL26e2/QQ8+h1cBoWL7Y25ZMN3B8hzufaLGi1o4AQ2wjZKlyX4JS67cExQ/MeuhvHlQaCvuMa3xa/dklnqCNrrfLNYU1dxMCf5iHS3p5CRBDhoxHtAdrjcuXSP8ntbG2wI0Nax2ccqtKPMQnk/PHOMorlxn/pTs0hYWutqK29Kc2dhaBVLLAMvenxXvGVNAjKlNuw0wXfdGWf/x49fWqo67QouQrhXuOFgg9RiyPWyNzzRb2iJn0wla70hTKJd0Zr/ 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)(36860700013)(82310400026)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2024 06:18:59.5425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f2888e9a-a731-46a5-2230-08dcdc60c72d 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: SN1PEPF0002BA51.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6304 Message-ID-Hash: EOUHT5MYKV6IF3N33EFK7XPFNUXYPXAZ X-Message-ID-Hash: EOUHT5MYKV6IF3N33EFK7XPFNUXYPXAZ 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" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/EOUHT5MYKV6IF3N33EFK7XPFNUXYPXAZ/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
ASoC: amd: acp: refactor acp version differentiation logic
|
expand
|
diff --git a/sound/soc/amd/acp/acp-platform.c b/sound/soc/amd/acp/acp-platform.c index a6e5cb263377..78fcff6ea657 100644 --- a/sound/soc/amd/acp/acp-platform.c +++ b/sound/soc/amd/acp/acp-platform.c @@ -125,6 +125,7 @@ int acp_machine_select(struct acp_dev_data *adata) dev_err(adata->dev, "warning: No matching ASoC machine driver found\n"); return -EINVAL; } + mach->mach_params.subsystem_rev = adata->acp_rev; adata->mach_dev = platform_device_register_data(adata->dev, mach->drv_name, PLATFORM_DEVID_NONE, mach, size); }
Update mach_params subsystem_rev field in acp_machine_select() function with acp pci revision id value. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> --- sound/soc/amd/acp/acp-platform.c | 1 + 1 file changed, 1 insertion(+)