From patchwork Tue Sep 26 06:21:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13398734 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 1F3BCEE020C for ; Tue, 26 Sep 2023 06:24:09 +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 5E0C8E8A; Tue, 26 Sep 2023 08:23:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5E0C8E8A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695709447; bh=jgNFtKHkdErYxCZQ1r+k/5cOm1HXpmR5K5JttCVttuM=; 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=cN30pJChwztmqWNvWuBsqZjBUdREkNhpBFo4O7OHo2p5LhYNghOIgMGg/Oziaf/Wr WDvT3sVlfjrxdCiByIrakj/kvJDbHzDULOFpT3ZwP+FmLUzvQTdLdxoPx3LITkKgBC RNfvA7WX+l8rXGNMtew49UhhRaDhYSZfS6VmpTk4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id EA8E4F80564; Tue, 26 Sep 2023 08:21:45 +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 BD130F80564; Tue, 26 Sep 2023 08:21:44 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3C18CF805C6; Tue, 26 Sep 2023 08:21:40 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2070e.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::70e]) (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 93E7DF805C5 for ; Tue, 26 Sep 2023 08:21:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 93E7DF805C5 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=Fl83vUq7 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d244LBpN+xcqi4AWN3iLodK4wG4GAnCyA60xLPjqkoXGe8qAScMu2CEbcOOgRkA+jS1EJOxt8Bv8YFMNFrRBAX+BINYwapvCVgD8dZ2CzrAMlceJLDYwyjk/XsSP17A5LiZcHf7pdFTZytcQ5r775j6qkUHW4bkf+/TgLgAz5Kd7G7OMbrQgSf/9TnRfATlEyUJRWTDSkvCPvYxPGxEF7ZEv99W/YJr43gDaca/ZL3KUNwXxfo05/Do6wIM/neGHDIXwiybi2GMHEHjtOSVa7kvLxFrE+Bl4ypF/G3nttHHIp9vTgTugyE7hG12BSdlRnQcoir3/Wtya5Z2dY2+EJg== 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=P6ctewlhnV6MC0z4WQvKY7BRsPdcJqkjqAdCkCiwm/Q=; b=URcJU7x2W2EKIV2yy7dEYZY/iMxU+htc8/SGgYCpNe4WnCIDwxOti2600J/moqmoG6uEGVEhfsQ5OcYeqy4cZThTj0qnT0GqhixvcELBbfzXdvHMN+Imqix+48lA+HVASTpdCsiilNFlJ64GOB8OfnnWFDm+05IJ01alnCHjdmOxV9AheHHU9z1BMs1UJRSi1S67Fkd8hZEo2oj76tBtK8/YEN7rQag5jrFhqB3vY2YzEef/EXSqciYWPjj4Vyg4WZQ7dLPKgHhPAQTSQ6KG0/WXq1yTHWhgnQ7tqllvQZFpbbm0EEkbc4Ghxf/MIuG5z3C8AYa1Taz4YIS8XIgu7A== 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=P6ctewlhnV6MC0z4WQvKY7BRsPdcJqkjqAdCkCiwm/Q=; b=Fl83vUq7bHpmn6qaEe/WRWO4JVlJovklXTcJh/4vKf0mnwXvvjfSrKkdUDybFBnhQ4V7Vvi/OnY8qHxbHvNtJeptUH0diEwbFqJr9TdZn4nRHlozuR43vOsvlI7HZBsyrmBD35uIqGxhpckomoz9q7S1EqCKugoIJ2RgCp/n8EY= 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 TYWPR01MB10426.jpnprd01.prod.outlook.com (2603:1096:400:24e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 26 Sep 2023 06:21:28 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::d2a3:45df:a180:595c]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::d2a3:45df:a180:595c%6]) with mapi id 15.20.6813.027; Tue, 26 Sep 2023 06:21:27 +0000 Message-ID: <87zg19h2u0.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jaroslav Kysela , Liam Girdwood , Mark Brown , Takashi Iwai Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 10/54] ASoC: img: convert not to use asoc_xxx() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 In-Reply-To: <87edilihhg.wl-kuninori.morimoto.gx@renesas.com> References: <87edilihhg.wl-kuninori.morimoto.gx@renesas.com> Date: Tue, 26 Sep 2023 06:21:27 +0000 X-ClientProxiedBy: TYCP286CA0060.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b5::15) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYWPR01MB10426:EE_ X-MS-Office365-Filtering-Correlation-Id: cff80939-6f1b-493f-507f-08dbbe58d10d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KGTyIRwJAUFtfMxHUiea8T/bd3GU1vhwbnEgLm60fqGHUEBRotC1k01j0xQBfdkNJsq1fCMfHar8cZCjARdGr9mhgVFxnN6cEL+tSVdiVyBCXSDFCLHQpGKoVUc/tfyaHwwLy79D/ionzBM788ruy2HgN8bXEnBohDyzIZBT/ce9Fwutdy/9Ldbprz8eyzIw6nCXwCepPIXc2wejJxNgA2QUokNd8PtKZS5amAF/AUqe4zFJ9MWDBmOyHbYHeGybF79bjdZwh/ACAPafhfOHsfvM7WyE5uYeO5PZbBgw/c3EAT5tJzfKXKEMmUlAI0tyllXuKUPQZcGce79NQ7ajBSq8FYXItrXu0Aoe1gdOq+p5KqVFL/cyxGohpoVLv821pPFvwYfWm4KFLjYxJCvQ9n3KSO6xbBoAWnWPr4nlfU442Js+EIwOUDpQKlOjY4rfPwyu2m37Ctb++Yj/GSbdMQw3pdGiiOoNaw1+y+EBa+GW9xJdRuu0wav2pfgA3ehpHiQREEOBSiwDg0Fia4ckwsSgeslQO08DuIk/ClYXk/s7t0Sc3yN/K/iNT7dOuA5nPPD8pY33U2mPXdfstJJlbkrtxgfjjw4yiM5o/CjRbpe2vwWE51IKhwSld+lQpLU7zyIGW/2KB2k4lDkiqjmYHw== 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:(13230031)(136003)(39860400002)(366004)(376002)(396003)(346002)(230922051799003)(1800799009)(186009)(451199024)(6506007)(6512007)(52116002)(26005)(478600001)(66476007)(66556008)(66946007)(86362001)(2616005)(110136005)(6486002)(38100700002)(38350700002)(83380400001)(2906002)(8936002)(8676002)(36756003)(4326008)(5660300002)(316002)(41300700001)(21314003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JC4Hm0B6BTUcjAR9F0sGt0uuqiUBflwE8avtKrbncxwUpX/PzZiOhXKhYh8ttUNES4qf1LrxoRzGc3/AUshKA1WpV4gT4Bcy6v7B4aMb8dVCr8FaoJ88cHJorZUvPsqXYv+SECmNpkskTcJewLtvtv2ceCurCRYNNJT+Pyd0IPLwXb0cbrci439cAhaleVCzH0oIJCkZROGJWUyjryohGxmsJSP4RxBy7catFY2l4cOXfRmgOBRlXEt+GATtzFLgA3ZKw2UICgShhMAsug9z+m44M2NobCcS8NoEq1ANppn1IVBNKfdYY+2+vJmhHMoCSaMLzltq3qC6kiyLYZt3+ImR7iQKRcyDH3Qd32jrijV5Fl2TtwtJqR/FepXubc1Fx4VnwNGkXJ/dtCSR2wOB+UWqfiXBNMn7QR0wNkhtiJ9rkWENJw5C7rm4bvZ63rnNuaMMv1cQv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lRSNZxqm3/gSwa6SLAXOFVk7DQ7zYko3I1FKV9q5sDlMK7NfMZV2c1uHt+NH6FjVe3fFX4UatY6L6K01Bdp1HR445A34= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: cff80939-6f1b-493f-507f-08dbbe58d10d X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2023 06:21:27.8138 (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: V4WhiDS6BpN/4rfARpJ0X+B4ZMOFaBHZVInFKJ9zMx8UkjkFb61zbDVTHg+wMN8XOg6Vn5OGwp6wr5dWDnvNq70oxwJ/KlxZz7MdRQIY49x8q2ihhJxgBbYZEu1mNCFO X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10426 Message-ID-Hash: XB3FQ3T2VJGXGF6AEZHDMJ2MIULDQ5EK X-Message-ID-Hash: XB3FQ3T2VJGXGF6AEZHDMJ2MIULDQ5EK 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: ASoC is now unified asoc_xxx() into snd_soc_xxx(). This patch convert asoc_xxx() to snd_soc_xxx(). Signed-off-by: Kuninori Morimoto --- sound/soc/img/img-i2s-in.c | 2 +- sound/soc/img/img-i2s-out.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/img/img-i2s-in.c b/sound/soc/img/img-i2s-in.c index b6b6339c164b..dacc29fcf24b 100644 --- a/sound/soc/img/img-i2s-in.c +++ b/sound/soc/img/img-i2s-in.c @@ -399,7 +399,7 @@ static int img_i2s_in_dma_prepare_slave_config(struct snd_pcm_substream *st, struct snd_dmaengine_dai_dma_data *dma_data; int ret; - dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), st); + dma_data = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), st); ret = snd_hwparams_to_dma_slave_config(st, params, sc); if (ret) diff --git a/sound/soc/img/img-i2s-out.c b/sound/soc/img/img-i2s-out.c index 41ea5ba52181..f442d985ab87 100644 --- a/sound/soc/img/img-i2s-out.c +++ b/sound/soc/img/img-i2s-out.c @@ -405,7 +405,7 @@ static int img_i2s_out_dma_prepare_slave_config(struct snd_pcm_substream *st, struct snd_dmaengine_dai_dma_data *dma_data; int ret; - dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), st); + dma_data = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), st); ret = snd_hwparams_to_dma_slave_config(st, params, sc); if (ret)