From patchwork Tue Aug 8 22:55:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 711605 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 0F01EC04A94 for ; Tue, 8 Aug 2023 22:56:52 +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 CF1B7A4D; Wed, 9 Aug 2023 00:55:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CF1B7A4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1691535408; bh=LI0bIF24+gEctrVEj8GdSI0EPBPCOsaSxOwYherdkJQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=shnnYQr36baeSxrCRulhfMfo+uIGpTjAsRdxfXGNhtOST9scJg8bYF1slbAt/hH0l dowHNFshBk65xT098c6jAnzVYdbhKaGtgN1xHMnR8nZJY6065z1P37bP+SX3406i0L T2lvZ2cLuAyiHsuz1o8dHfaBIyVnbDzpMbnzUIuk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DECF3F80587; Wed, 9 Aug 2023 00:55:18 +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 4B203F8057A; Wed, 9 Aug 2023 00:55:18 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5AE29F80563; Wed, 9 Aug 2023 00:55:14 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2071c.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::71c]) (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 71E4BF801EB for ; Wed, 9 Aug 2023 00:55:10 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 71E4BF801EB Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=jsWIdkOj ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ry/nu2vSG/xX5vAEcM47567kqnolQMkxlTJLwpUa5H1ePZlln8yxLufZ0vSbLN94WuYGF1btLGPhJnfgJPdprfn2PUh5U0wZl5OwIfGueVB/mmady7xEaWgVHIBWkGyShfgtW746s0mns6VQjVp6XEgE74gcwENRVM6Xw3XwsSB6jneq2GgSX87i2xbhy7B6W5g1VN8opvthP8M1M9MPCa0d9l2qWjpCVgHq0tvaVsjT3k6JFLCyLkI0GOJqbnapFvrY8DG5hneEkfUg3y2UeH5Cum4kwZB1eqrwo+EOHhOmn1DST7nKrDqJN5bbBe2H2xq3GoY3LJSt7fXatUUuFg== 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=TPeiaoIIsUlnzYISvND8Dxao19NtK6Bf90KX570XmGc=; b=K0lPw1H0Lp7+PBYuFIBzCvlnoYzAw4u0dMd1HAMUDFyhc8ggQm/h1i6Rx0xs00LKb9KhDXIztzZnV5BUskF2/UQuwGd/PjCu6A/ya+i4ps5UnpLd1LIbE/05VlC4XGApzZi0rwMbvaPfgwziVEygFYbSv017FvljxiG+mNckP35YcNX5Fq+guYMzZSbRLr6QGR6KofAd4EXsg99oib7FDloOAkZ6PBssUgE7U94Ur6kN/PIzUqV9uvEVoAyfyCFSKAg6qL9a5Tua5eaE8747byixAWG438djKjQnBWALh9PK9RU7f66p/6ZQppiodv5ucvx/F0NFaGYpcfMXSHVuSw== 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=TPeiaoIIsUlnzYISvND8Dxao19NtK6Bf90KX570XmGc=; b=jsWIdkOjKiGWt7pfCgJn2hLTU7uRse/vbOObIxrDzqZ1B1u0o/V76e6KHgvbAO/dLqn3kAmO1LSrv5MYNNxnPo/HnxAw0brgiJoneBONFIfXRvplIfp7U0ZfMHbqZHRqvQmWqN0TbwigK0IF0J/svC3GsX7zjuxWVvuth/dNJdU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TY3PR01MB11969.jpnprd01.prod.outlook.com (2603:1096:400:40b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.28; Tue, 8 Aug 2023 22:55:07 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5%3]) with mapi id 15.20.6652.028; Tue, 8 Aug 2023 22:55:07 +0000 Message-ID: <87sf8tb0vp.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: =?iso-8859-1?q?=22Uwe_Kleine-K=C3=B6nig=22?= , Jaroslav Kysela , Liam Girdwood , Mark Brown , Takashi Iwai Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 03/39] ASoC: adi: merge DAI call back functions into ops User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 In-Reply-To: <87wmy5b0wt.wl-kuninori.morimoto.gx@renesas.com> References: <87wmy5b0wt.wl-kuninori.morimoto.gx@renesas.com> Date: Tue, 8 Aug 2023 22:55:06 +0000 X-ClientProxiedBy: TYCP286CA0031.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29d::6) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TY3PR01MB11969:EE_ X-MS-Office365-Filtering-Correlation-Id: c784a06d-d2ea-4973-7fb2-08db986282ac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PRq2k/ShDcdDE2Npyi5WAnehb4n+kQ44ECBoXTOo/zvJzsBBR3I43Ftr/1i/jMlQteMLzC/xWtuBNodB58MNM69XwGxVX90L69kDkJYf4WzZwPIvleMinz5dQdM762UuhLeNnmhG0Bfuhnhs2LSaJ/w6kYmMMhzjbpF65AuXWD7K6XzoUC6rhenxLzFjDr7XlrLDcj9hZtK4wyWqwN7tNBQia9NdEHDQnS28uUTAhhmifkFb9kDERMT1j8X0UgQQJ2Xx53YkzFgdFnoGiDpMiMW0hihLS01sHwZ7y2Tl1mKBDj1pwrU13W/evk3lLWrFwHuUxaS4510q1Bxth/XEWaYC7UoSpgBygiVACffZsAt8otz0iZsC41PBYmG5FNVoXWReJTsW5p9/0MXcDDYQ2VDMKDKM8IuGagrWWdPNA5YCZOqTYyDx5Iw7mplVVQ6yldZkxlbYrkP0GQKJYOYO67yv/rdVV3tOdjqnZvUQk9ScqIl2LQ5Ytl/stCTfla3g89QckMOHI+Rnd7/d4LAVJTPbLCYSMDiTogGmuHSSsRIxLOPuuN4qal9KVTqgPRaU0kdxXkhlGkzfRePE6GYT803bGompNNOhdzlPvq6XUjdAfrWfLnbVL7y+/MvZNHpu X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OS3PR01MB8426.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(396003)(376002)(346002)(39860400002)(136003)(451199021)(186006)(1800799006)(2906002)(83380400001)(4744005)(316002)(2616005)(41300700001)(86362001)(5660300002)(26005)(6506007)(8936002)(8676002)(110136005)(6512007)(52116002)(6486002)(66946007)(66476007)(66556008)(38100700002)(36756003)(38350700002)(478600001)(4326008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ytoFRUXGuYOD0igW3Hw7dWEIydSMuew7nF03Y8OoVAu/3uQyOQBCxXVREvry/0ctQz9RMju0KwBgyCp69GQ4//GnG0LfUaAYlRURaAIa0Prhv4myWI4UBRXz5loDUbfVsIn8OBJQmbOtzgrwfVHgcItHHM9ADEcnQ/QYPlm8xT/WCPJIYuV9VYvqk/YZOpnXDHIhl9xB8ni6hjvtOzv99nAKs+giuIH0M9FZmfNnKOFxm2udv9IFgf0nRnsVWJo0o6aREDvMg6dkVu1Usun52T/YzpyU0xEvJSrgi1F1xYkbimfIM4s1sm4SvQEd8DZn9NcjvkTzBBQARqG4fNBzmTUKVl6Q3rLzosY0acmlkx057pSXM5uMUdGu+9GIm2DAs/bChRXMCbtm5rMd//axpOueXKs8BHqrZq6+jHmJ3nzFISI8tbJwG2ffWoMlwAekzGgGSYWd0hhG2aeWzWWmwhLHlmnV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VUVgrXgsnf4VzC9b/Rd/i892BY9yYW2GjuJOmZpyR05ZFNzFN2Sebo7h9UuIr3ExPac3gSmPJkTsPXI0sIkmKA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: c784a06d-d2ea-4973-7fb2-08db986282ac X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2023 22:55:07.4539 (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: D2GZ4jO3CWeRN9J/xeNI2SioeWyAHvgWwBba0H1ITA+FVKQeFJbsyDjgrvifrLs9tupIBgZq1hSe67PmXxoQd0tvQbRjz39WzyB39yENZxadweZCTnjeaW5nX//XV5dz X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11969 Message-ID-Hash: LV5RTIVU5Z5YLAWQ44WI2IIGCH4QRJVI X-Message-ID-Hash: LV5RTIVU5Z5YLAWQ44WI2IIGCH4QRJVI X-MailFrom: kuninori.morimoto.gx@renesas.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.8 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: ALSA SoC merges DAI call backs into .ops. This patch merge these into one. Signed-off-by: Kuninori Morimoto --- sound/soc/adi/axi-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/adi/axi-i2s.c b/sound/soc/adi/axi-i2s.c index d5b6f5187f8e..7b2563075743 100644 --- a/sound/soc/adi/axi-i2s.c +++ b/sound/soc/adi/axi-i2s.c @@ -147,6 +147,7 @@ static int axi_i2s_dai_probe(struct snd_soc_dai *dai) } static const struct snd_soc_dai_ops axi_i2s_dai_ops = { + .probe = axi_i2s_dai_probe, .startup = axi_i2s_startup, .shutdown = axi_i2s_shutdown, .trigger = axi_i2s_trigger, @@ -154,7 +155,6 @@ static const struct snd_soc_dai_ops axi_i2s_dai_ops = { }; static struct snd_soc_dai_driver axi_i2s_dai = { - .probe = axi_i2s_dai_probe, .ops = &axi_i2s_dai_ops, .symmetric_rate = 1, };