From patchwork Wed Aug 2 00:54:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13337447 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 69573C0015E for ; Wed, 2 Aug 2023 00:57:17 +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 CE70783B; Wed, 2 Aug 2023 02:56:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CE70783B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690937835; bh=qM16m5EjDAWwjMSB/ru251gjwkgD1NC8R1vJ3vIgMzY=; 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=qAMpXMJ+dPa1BoClZ/9lNDv1GHCmvn85pej5U9QDIMZ3kGS06CbEC1mG4eplyW3KX B4x8meZ9/NLkl4qs/wPj8uakJjEE9mtVc5RsXZ2ocr3zsHhWHG+IUmzIVqzVgB1NFk Cl8g9DiFryZvfWZ+l06+28mnu2s0dyKffpBmcwzU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5E295F8055B; Wed, 2 Aug 2023 02:54:23 +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 CCF0CF8055B; Wed, 2 Aug 2023 02:54:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDBCBF8056F; Wed, 2 Aug 2023 02:54:18 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2071c.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::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 EBEABF80557 for ; Wed, 2 Aug 2023 02:54:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EBEABF80557 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=VJQuXHC5 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M5P1qx+X+LRgaWF7DBtkOwjQeVIWViPSiRvsdcNih/fIBsi46PwWXsDSUrvkSVfgoApLuV2Pd/spxXGSIXGz5oULSiD2vOejFFL9MwOg993oBiZabzwg02VOda2A05Ci2DRspGyoUdpntG4dTz+PC+nlXpTcqPOoV/WBYGtX+faT3RZzat0Olb6DVlypCFM0gLYyrf0x1eu/trYea5PbJVM79rH4NaTy68tCtCO7HXjntwpTChYpP67PFVv9A1nx9dxV17T4P2RoYbXtYbgSCPBBDqRkAVbLMF2ZwowXdwgrAu/r0vDcNoHjwgEI0yLzQFjtA1lDqfSQY9/rBPHzlA== 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=sxPlbXNRUqKwrVsB1xpkS+JqBbiHU1d0+jz9z0zmXQU=; b=eU1tjdgfYS6PJih4q4Jbg9Pkb9Sgz+3TP4oVsiID+wGG9kvlsGFkCVv+gTO9Ha9dwZ+m8Qn0OTJ25giMud6+JN40UnOYf+lLNmkH1f6ej9EE7r1UWQsUlP9cq+NRTOQq5jTHb+AyM/KZPAH+WFJzJtBeimd972oAxM0jXLVsNUMOBji/Uxig4f/xsnwvnzEEcFU35ZmwsIaV+S7dlrYQSqIkpZMnkyoFMZiOwpx1pSftdl3qWpoQ7xie5utEJ2GdSd5cka/ZMwZ5JC60Oh1X5guDr0ol+0gGcxdvz6nkHpJ16LJgv9i4gbxBX5HaSxd+U0gOMb7435aQFKk0zKF1lg== 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=sxPlbXNRUqKwrVsB1xpkS+JqBbiHU1d0+jz9z0zmXQU=; b=VJQuXHC5h/J9ICpE05NLnJmIXUs1CwfkqRWK+ntgvKS03L2jATSauQl05Oje6SRXBVOFsCSCraussG311AACT7/tY0aOO5PqqKdPdcpLPQD38UXoqZln0guhCTFOTO/c6Le9oXO6Q5ez3r7uidKy6v/gFQfJXJaA8qBbpNqrsZw= 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 OS3PR01MB9381.jpnprd01.prod.outlook.com (2603:1096:604:1cd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.45; Wed, 2 Aug 2023 00:54:12 +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.6631.045; Wed, 2 Aug 2023 00:54:12 +0000 Message-ID: <87pm46tgb0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Daniel Mack , Haojian Zhuang , Jaroslav Kysela , Liam Girdwood , Mark Brown , Robert Jarzmik , Takashi Iwai Cc: alsa-devel@alsa-project.org Subject: [PATCH 14/38] ASoC: pxa: merge DAI call back functions into ops User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 In-Reply-To: <87a5vauuzg.wl-kuninori.morimoto.gx@renesas.com> References: <87a5vauuzg.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 2 Aug 2023 00:54:11 +0000 X-ClientProxiedBy: TYCP286CA0281.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3c9::14) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB9381:EE_ X-MS-Office365-Filtering-Correlation-Id: dc9028da-2ac1-423c-104a-08db92f2fc9b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nPxw9bluv60RyhoJT1Ska4uQgfx+tGQQWWBdLZLXd6LdDfDgwSgo4CnBttYvSSt/4K1aOth9P1fq0zjo3cWSmqq8gv6vSt/wl2p9ZzNRh0L7FJAvI+nfF5sUWmGoah1yqC9QhX/o/YQJekYkMhIuMzMCXVXoAf5j6aulQ6k/wayOvhLIpPK9HWaOUqIYucouZ1hx8AUWHAk3d+KnVzs4sk99Gtu3Aq/JQ/B5WlEaQHMLur/gJuxNC7rgiFEQQsJX6JJrEcvIJjvqcwXwakTpoYjnaysbyy/UZwVlTq2BGeh3nksMguHdslzyiXrKhCrVPNIVuTj94fwot+O1GsDQEmYBxPxfJcQPHk2KhvL8UR3TQ5OeQlKZ1RkDabSL0YsSV6qWoDodru2EYnnlMWlir5uA/gVXRKmUjRG5MA+gOa3eNTT2oAgBS7UelMLZhmmB5QLwTPw4RD/BTGDksXec7Llpc+Xs8PQJ+IUbhTIRuNZq8dfrevOr5wMS/0Fqhx831yH9mhMpkBRjInrv1m8RrchAZiEsUId/g49g1A4fMT+kaRudtP27UFxqQwPj15BpcwMxsuT36nDzMxNZzQhnyDqhwELWzT6chmAXv858K4WOWJltIukBQwQTV2AEGT1ZmLVw6Tl8wb9amZDNRV3xrw== 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)(346002)(376002)(366004)(136003)(396003)(39860400002)(451199021)(38350700002)(66476007)(66556008)(66946007)(2616005)(83380400001)(4326008)(316002)(6486002)(52116002)(6512007)(110136005)(478600001)(186003)(6506007)(2906002)(26005)(4744005)(86362001)(36756003)(41300700001)(38100700002)(5660300002)(8676002)(8936002)(41080700001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZzSFssnBEzK61/1DW05VRkmplHa0dInTdjri2Ww9HvVLtLVJ9IafBDXk9oUwjZaoWEGn+JjiLBiLEzEGpScw2z8CST5o3o1eYLFhp0VQLxPW7xje5De7BZ96+CMyPNUL9oKRdc/OFwK8m0ZIjma4edZKlczCWfgwcruUrHI+gFilwHZ8RI8Blrfkc2ccHFvbl0IywVK2oENOwiR7D7AjTsU/Q1A3HLMw9PPaK03x1counoaHp2TgYHQp2yFHaefNCkkb55xpcv2FemgEg1Qsc3C3GsApUDrfZYz5yCrsZBqjDTy4pMTI7aObAQFCX2Ys1+EY87NZqPDnAoNQvS6aWFatK0Ks6ZYHrEvDQDGH+0PgV6tBNo9DWoFvbW2Zq7d08fwgpYU/G/6GcfO86aXO1EDTHfRALQ9SEr6gVM40SoQCZx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JePVKcCbV9W5r5C2hxB4MYVM70vJtQ78ewI7DuiFb/6GiJaYKSo3iaJ0Gv0J4evltc6VBEVAZ3DBmVI7oLYLHS8K3jqInnTlhjebLpbFGBFwtWy+EERplq6AhDNx7HRM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc9028da-2ac1-423c-104a-08db92f2fc9b X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2023 00:54:12.2190 (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: LubEZLDe6iT7KjZleHQZuJ17yxZeRLqUW9NpAse7gG9bYG6DzoXdRkNr2xatZWH4OIIOU5a31ZTVflUBr6cXV+15iKSw8v6w50Mt/ctLlhGy2tmfLQT504WWvHhrbWpS X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB9381 Message-ID-Hash: JGQ75OTB6T2PRVBDVPCX6G2M32GEEIVR X-Message-ID-Hash: JGQ75OTB6T2PRVBDVPCX6G2M32GEEIVR 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 thesse into one. Signed-off-by: Kuninori Morimoto --- sound/soc/pxa/pxa-ssp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 430dd446321e..32a8490d027a 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c @@ -819,6 +819,8 @@ static int pxa_ssp_remove(struct snd_soc_dai *dai) #define PXA_SSP_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) static const struct snd_soc_dai_ops pxa_ssp_dai_ops = { + .probe = pxa_ssp_probe, + .remove = pxa_ssp_remove, .startup = pxa_ssp_startup, .shutdown = pxa_ssp_shutdown, .trigger = pxa_ssp_trigger, @@ -830,8 +832,6 @@ static const struct snd_soc_dai_ops pxa_ssp_dai_ops = { }; static struct snd_soc_dai_driver pxa_ssp_dai = { - .probe = pxa_ssp_probe, - .remove = pxa_ssp_remove, .playback = { .channels_min = 1, .channels_max = 8,