From patchwork Mon Dec 4 01:31:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13477721 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=renesas.com header.i=@renesas.com header.b="U2Spk+dS" Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2120.outbound.protection.outlook.com [40.107.114.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47E44E4 for ; Sun, 3 Dec 2023 17:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jacFNiPO8pRmtzhcxYuA74aPlLRUgYBlbSh880RwcuEQr1pX9XoYPw6Ypa6YmKlTiJwWxtXA6vY5TqYf/cBBRCLaKSjtgNirMouoo71DgEt4s/K6X97tBWk4T10y62wQ/aOAh7C7xY154LjtydKujzz618TIQ5hZwIkTj2npYCMasRlwBy0MxewEVkfcG7h2ObJJ5/XKU/YsWicDsI1ENxH00e+p6kcHMjcW1dICb3R3PqEWPMmtbWWn27uu0DYbO8uYmBZGoetEpNyqRRFBV6MXOGcwr0GGV4aCWd03wlfZX/EVaf+5jdMF6hQq4Z/wbLvTlV33RWD4ASvRuH9Yeg== 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=ox+x5ZO7KFS8nh3Ga+svuF7cigmX7JbnmkjgSHDqRB0=; b=ZRm7BayiQ4iT1NVVKBzavVvsJ/CKGiWKRCvyF5R4ryLVdcgqS/okgx1Q3oKdbPOTcrTsppekvyKS+VNGYDi/4fTfnZXuFFKzlhQ+OqjhpMu5/PX3iXdCuwPnR17KCgggsXSy8f+kuvbbxlad2dAHK5LDRhkH0RJAZYOIK34ZpjAn3mt6g+SnusAZjDQAJ6Hl1TMZbZZQs5GCrxnzX08KymGbj9b9TYLKY4pUFEMClnWT3TCkhTGnqarj2zDXYZXA1w2Db4wU/DoHbKne1QL/sjd19YsZxB2f0CZdYZjKo39NHvevUb4oVpqt41m4L/YJIivfwZmawP/TUG8eBlluQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ox+x5ZO7KFS8nh3Ga+svuF7cigmX7JbnmkjgSHDqRB0=; b=U2Spk+dSlREs7VoJYqMHRDar6MXW6yYDHVsFHG5vPdV0tGZx1GwCw7HfMPNlCmmbSOBrWJJ5kHX+8zlYUtGszYELAuptHi9kzVbqloZG+CTbf4WxiWHcuS7Q50BVursS6rKxrDpcl67l7mrn3paxOaRf/pnckNhXmAPYU6oMrWE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TY3PR01MB9747.jpnprd01.prod.outlook.com (2603:1096:400:22c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.33; Mon, 4 Dec 2023 01:31:35 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::5732:673b:846c:ed92]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::5732:673b:846c:ed92%4]) with mapi id 15.20.7046.033; Mon, 4 Dec 2023 01:31:35 +0000 Message-ID: <87fs0ibvns.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jaroslav Kysela , Liam Girdwood , Mark Brown , Sylwester Nawrocki , Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org In-Reply-To: <87il5ebvom.wl-kuninori.morimoto.gx@renesas.com> References: <87il5ebvom.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 2/5] ASoC: samsung: odroid: don't need DUMMY Platform User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Mon, 4 Dec 2023 01:31:35 +0000 X-ClientProxiedBy: TY2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:404:f6::16) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TY3PR01MB9747:EE_ X-MS-Office365-Filtering-Correlation-Id: e5116c4e-93e2-4224-1c75-08dbf468c0eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C0Xhg+ja78WocyfWasnr9mN6w1AIr+L962ZSUvHQmAlluNuqaulLdaf5xXcpI8Ft/Dh9/VSjru/fR1zXgwgY2YPGnxvWNTlIaYeSWZ6XP2xOk5BxztdcxkJ2SEUnWD5oiGRCRXtVD/3XGghWQouA5SHiiPc5STJIiVRBDfIniIzH9D6j2Gc6rRm6vP6IzGuTvWXLXSX3UvfjTBEeQX3rRChmSKlOo6QLdZY8vWt9uVCI5GfFbVC0i6Ke1Ddwd+h5ftVX6sCSIlun/nvgqRIQN10whklN+Nbjob6mEAtz1j7Wegs+h/44SGh/QXg+rHAeSLwqQZhtIUBGz/N/eXcRDb6nY4a5IS6ZSQhRpBH29rOtxgbMnfKnzZknKIhHMJzEJoz9HyJ7hpJhjyc+9STqQSUrVi38gTH1ONkGsMyAO4oKzEso5MDZhhM3BRyIKEtwQmhNS2Z8LFAkUlqAD5SlAwEC+lFcUItX2Ndy5a6sN+26I733G7Qsu++mWoWM+ngQKEWsgeltqY0dZeNsHk0XWZvlH8X/w9oSTPcmgYN8/jVLhXL4V4rHKZ+l3tUqpoHtWbcavz3B8GXHfuL1KCyxDcq24tWT2pEU2V3UJe39yuMp/osbMLXVAFY4tS5rfLz2 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(346002)(396003)(376002)(136003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(52116002)(6506007)(6512007)(478600001)(26005)(83380400001)(2616005)(6486002)(66556008)(66946007)(316002)(66476007)(110136005)(41300700001)(86362001)(5660300002)(36756003)(8676002)(8936002)(4326008)(38100700002)(4744005)(38350700005)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: amiCjp73/UUzkw4udXt6xEHH+QDUPBN7fF89cYRWh7f1c+AUJbtnlC9n8ydgsSkYJRZycXVB+KZNIwF+xBaAKJHW7Ack4spMtjmiTybEcbMDD3YkCERxn38aCEDXEAsswi/N0cQRuTHT1PMWnQWuEZXxTBSTKWh9RtypruF/2kdpNyEGR+XiIfjGDuDlonv+KTQyzkGoBR+C7oV/n9JRY0Nw7B75VwR4iwsYL2AeluPe/Fy2LAYwc8oeyD+/MRCK075gox20aeATs+v9ZB/I7OESGRyKIpWhes34/SAwCAY1zERpUU8mZ3eu1svOL/TOFFHFII61MqXO+iLc8nGqh3gf0ywbnlh+9ou0egfk0vOWTEdMXvCYxmF8Rl8axpwbS+HFtkC/uBHnarn/HYUCVO90n7erpdPy4uHZeMqXTnLtAKxIzKTEl36VX6uP5HjGQgLDhky1FXJ7NK+xbsVKyMHUoNhXv2tjNaGzTbwSasHy2yBR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jSRXIe0ccbA0+stgjy/F+YW5bVYFkz7Q1SM17kKgP1Rr7v5Nk6GUKLc2pq4AmwGla/s65I= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5116c4e-93e2-4224-1c75-08dbf468c0eb X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 01:31:35.4363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Itp1tyILPmDkycnkA53boSSZ0jJ0fExUoSbLzN/N/N3wuNMAenQJT+qXbiXHcgDYooeNXewM6dFi8CRaHUeOKD9GX//F6OZ2UEtQXg6XdurlhlDVG9IT3tkY8Gcpoojb X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB9747 We can use SND_SOC_DAILINK_REG() with 2 parameter. DUMMY Platform is not needed. Signed-off-by: Kuninori Morimoto --- sound/soc/samsung/odroid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/samsung/odroid.c b/sound/soc/samsung/odroid.c index e95f3d3f0401..110ae14dd7ea 100644 --- a/sound/soc/samsung/odroid.c +++ b/sound/soc/samsung/odroid.c @@ -157,8 +157,7 @@ SND_SOC_DAILINK_DEFS(primary, SND_SOC_DAILINK_DEFS(mixer, DAILINK_COMP_ARRAY(COMP_DUMMY()), - DAILINK_COMP_ARRAY(COMP_EMPTY()), - DAILINK_COMP_ARRAY(COMP_DUMMY())); + DAILINK_COMP_ARRAY(COMP_EMPTY())); SND_SOC_DAILINK_DEFS(secondary, DAILINK_COMP_ARRAY(COMP_EMPTY()),