From patchwork Tue Sep 26 06:26: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: 726429 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 87A13E8181F for ; Tue, 26 Sep 2023 06:34:56 +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 A1FDDEA1; Tue, 26 Sep 2023 08:34:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A1FDDEA1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695710094; bh=XcOJ+miBOPBhpEsnP1makq0FYHT2futDKTBFQVk0y7c=; 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=eOMydvdOCMwJIhzQFQ9rUoRgGu+MV/psaqz4gQ9q1BwER7NNsvDlkynciDozdAPq+ Jbs09cMDoHUMzdnII3LbyG9nfNtwxV8FuWawhD8yO8OkOGYLQMNqdpLkCEO0zLg7Qz CXj4V45Y8mWEZOf0020+19NTXlRAGA5sj52nOh8Q= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 39312F8072A; Tue, 26 Sep 2023 08:26:37 +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 A4F8CF8060E; Tue, 26 Sep 2023 08:26:37 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7D3CDF8072A; Tue, 26 Sep 2023 08:26:34 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20715.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::715]) (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 41A3CF8060E for ; Tue, 26 Sep 2023 08:26:31 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41A3CF8060E 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=LREbo3lO ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qtt5gMgH25mcRTmJOLpbqsJHzQilvW4G5CQm485TDDmNd68NjXpFkrogi9WVb/AI3qiITdKzL68n/0fY+dfUdRLf44ENCfi5r8A8ADTUtGDPhTA1nho4jziFTB30NOEdnArUbXLKwvsrGL696+lfaV/qRA8O3fp/qVK2t0C+X00FibFf40jFt86jU1puFPq+0HRGrkBXa5DXwkW069GS2CkDde30yKBCB7zab4tFKFgKJkuedE3Hzh7wmxcj/HvFisIrbi7KsWmxDaYN1nTbqxaD1r0mOjTBa7KFZV6LcKn/EXm+GmKmy/hzFtTj7yFt72OrNn7IXrZCKY6B9BViTA== 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=xQXfnDWteiz8GE3/czrvoSSltI6Csd83QA100FZ+hl8=; b=FxonDInPVkOXkcJ+Qg/+zgy9SfcNGXEvNudYcxeWckVB1peHG2hq6F7e11881+YGv1O2ejsi+W5aprXBB4vCjjsloIAEbQHr0E3jhq3+fEmho+ihQAhHdAobKDxfPncAlRTOgtkVwwvTarY1S/auWxOf/1urWGklJVoZbSLV8tjPk/9yr2XrroPC8zn9W4R9VPJdw84O2RIWNRp9MwnzHUEn8xL4/DCGWCF5Qxd9vPrgu0PCbsDYQo/ujxW5eVT5pvoE2PdevmVHSZXosOCqoYhrkK5XmUqnJNDdCxnAnchjLQC5RE/BlBSvQ2+OKIkY4ydWA/lPB1fpTuS7SKGH2w== 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=xQXfnDWteiz8GE3/czrvoSSltI6Csd83QA100FZ+hl8=; b=LREbo3lOxK0eANC/yJtqU8KelXmFE/hy8vCPw2St5NFiLX8kSh8eincqM1lyLtqzdSzjXtTn8HP8Kq0Bz4LEg5KyWKtK5xhRNXaJNx/5u98wfFVz7nChyEgw7UMny7GqK7iuZ5X3Y7KziNm4wjfl42N5jP+HZWoxuKnxKoS5ZiI= 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 OS3PR01MB10043.jpnprd01.prod.outlook.com (2603:1096:604:1e6::11) 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:26: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:26:28 +0000 Message-ID: <87h6nhfo18.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 48/54] ASoC: soc-link: 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:26:27 +0000 X-ClientProxiedBy: TYCP286CA0118.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:29c::11) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB10043:EE_ X-MS-Office365-Filtering-Correlation-Id: d53d5e27-0735-4fe8-1262-08dbbe59841d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P2Sp0XxxkJViRu0OQ9Dl7JzwvpEabmQQqAHwtDg8PnTf8/Tu53TbDGMXVCx/L1CqioR1S2tThXo7CPQqjjldPcHznygf4T8hQb6CFiyGczMLQ2WiNCaVXgew8q6Z2DovU9Jg16r8L8PsmlMoYTJb+I2NBI4oXjocaQcsg1ly0iIAvgybZidWvq+tqa4s7dsTPbXpY256YflshUpike2D9dNxqb9wnMoWYiZgCUeeFgJEg62AdC+YA9mcX7vDZ3CtTeCsC11t+ESrIYvCaMwAEjFk4eJQUTb2xzWapWHSYdqbiJ7Vc1aUDeXOrhBgGkecqNYfG3co+6PsQnBvCptKb/LJfmkslUui3ckRE0vVMVlUaj+TwislHlHZoKdT+xaCIZ9P1MuUTUd6Z2LlVjxObKm2Xc18J4npS99wHcPfSWxANe8VfM074O8jEeWuNDWbF0upoXPab7jinKzAuh2N7WD5ygpWDM26ecdJlFdsjZKaBRtbry8jFc73FxP9C1l3bXMrgQ4wKzgQtc8Qpueff3ao6VcpkYEmuHN7wVe6LN8udPio1nRf8ovUbwmkug+Z3+bU8HBm8jNviqT6Ouu7DX/Tzad5K3Jcz714K2g1teSvuTQe2wYry8e+rXnR0ZBQiZcML8+IBncpXHdfv9tDlQ== 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)(366004)(39860400002)(396003)(376002)(346002)(136003)(230922051799003)(451199024)(1800799009)(186009)(2906002)(110136005)(66556008)(66946007)(66476007)(316002)(4326008)(8936002)(8676002)(41300700001)(5660300002)(2616005)(26005)(83380400001)(36756003)(86362001)(38100700002)(38350700002)(6506007)(6486002)(6512007)(52116002)(478600001)(21314003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: m/jDoCUaK4fXBRBO5ATSecElzz2vdgPpDGs6Ml7BpeKy/eOjpdyvWekzFQWAuEJmLQQWa67c4maWiqODMLKObg6ICwWrhv8ZfI4v9D0h2TVm8rJWt2CQNhk89oV4cJqysLPSeHkqirrDvar5PplWzmVlsdPwJHJroxupgbk8jrTYyKqGqXjx4vqnvATW5tsDMeRmKoF5mSxbQ5X3dW61TdWXj37C4ysrw/lwIJT6kFBa+XUSeJwRKhB1A2f2ai50dnHCr4eb1e7ER70d5yMaTbpPYA/AZhsLgvjWboeojy7NcKQ8tmrBeaUj/IVp8qbWXyvy+Vlc0j6BDvFHO8ohaaN6prBgDxc4Fokxxe3ToxoTVAt9T8SSDRV22Ezziq8dxejW9lrOn9zqFxeY/ZEfaA1P+P4fzWfdW/jiZYgczyEZA8PZeK9ZUycuO5+j/0KECXpmkcCS7lFI9UT2zm8qmpW3WkqrHr5lzm21nptJ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rVylugDbl5N0B0iRJGmZsTxDqgC8G5wtkZ30gKfeyGWxlChmN7260shDoo/DSPbE4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d53d5e27-0735-4fe8-1262-08dbbe59841d 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:26:28.1768 (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: 7qKcIcoQ9xN/ipl8ozkbvwN6RhH8oeAF4n55H0VHUpymTn0E4WOCuRYa0RifICMryWeM4vxHewUzhcwo/xIhil7GMQFOQ/eQF1p8eeFMSa9JEKdivKA5cLe4x6fVw8KO X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB10043 Message-ID-Hash: LVNFGRUYPR4M6M5EBFYRL5RVQ3IM2GMF X-Message-ID-Hash: LVNFGRUYPR4M6M5EBFYRL5RVQ3IM2GMF 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/soc-link.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sound/soc/soc-link.c b/sound/soc/soc-link.c index 619664cc9ab9..fee4022708bc 100644 --- a/sound/soc/soc-link.c +++ b/sound/soc/soc-link.c @@ -67,7 +67,7 @@ int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, int snd_soc_link_startup(struct snd_pcm_substream *substream) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); int ret = 0; if (rtd->dai_link->ops && @@ -84,7 +84,7 @@ int snd_soc_link_startup(struct snd_pcm_substream *substream) void snd_soc_link_shutdown(struct snd_pcm_substream *substream, int rollback) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); if (rollback && !soc_link_mark_match(rtd, substream, startup)) return; @@ -99,7 +99,7 @@ void snd_soc_link_shutdown(struct snd_pcm_substream *substream, int snd_soc_link_prepare(struct snd_pcm_substream *substream) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); int ret = 0; if (rtd->dai_link->ops && @@ -112,7 +112,7 @@ int snd_soc_link_prepare(struct snd_pcm_substream *substream) int snd_soc_link_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); int ret = 0; if (rtd->dai_link->ops && @@ -128,7 +128,7 @@ int snd_soc_link_hw_params(struct snd_pcm_substream *substream, void snd_soc_link_hw_free(struct snd_pcm_substream *substream, int rollback) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); if (rollback && !soc_link_mark_match(rtd, substream, hw_params)) return; @@ -143,7 +143,7 @@ void snd_soc_link_hw_free(struct snd_pcm_substream *substream, int rollback) static int soc_link_trigger(struct snd_pcm_substream *substream, int cmd) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); int ret = 0; if (rtd->dai_link->ops && @@ -156,7 +156,7 @@ static int soc_link_trigger(struct snd_pcm_substream *substream, int cmd) int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd, int rollback) { - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); int ret = 0; switch (cmd) {