Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp263004rdb; Tue, 31 Oct 2023 07:01:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFj6ZSVs9V02+vxI/vwU122bIp9M2nT4vMZvNv63rh1CrL2eLfl53Fugi9KZF7g7AFM7H3X X-Received: by 2002:a05:6e02:b4a:b0:357:abe3:6b96 with SMTP id f10-20020a056e020b4a00b00357abe36b96mr16065975ilu.4.1698760869159; Tue, 31 Oct 2023 07:01:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698760869; cv=pass; d=google.com; s=arc-20160816; b=UGQL4tXAnRWyCm0+2NQD2Ri7JPSeLfY6W7T+Xe12gA2wnXMywDPcMyjxnMpC6W4DXE 6Wmw8CBL8M+fAxbVs4NKcm1LfOMcnVbn0bSALwyBGvr9CY5GnOtHYTDiPJQPiA99Pyu7 Pv5C3gAjiIn4dAaZlMd4+9NSfvg4ClQYvVc0HM8dglYWc+N9OdEAXh9jfKnsJ6EzEk8l HpyB0yokDD9l8j2GRroBbXXf0jX39+whmG3zs+ClI1fe1vQ1D4N7tRYOa2f7vFdL8Nm3 E99iuOhzIgs8TWgqnNb05m11e/E7Wuy/mAV5cxnbxAzMAzYKFWn9to98PtFJWYuHWYeu X53A== 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:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id cb4-20020a056a02070400b005b4600b5738si1058086pgb.261.2023.10.31.07.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:01:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; 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:2 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 3D5A88083B36; Tue, 31 Oct 2023 07:00:27 -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 S1344740AbjJaOAS (ORCPT + 99 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=20Kleine-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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 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:27 -0700 (PDT) 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, -- 2.25.1