From patchwork Tue Sep 26 06:25:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13398766 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 61DC6EE020C for ; Tue, 26 Sep 2023 06:32:58 +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 9E07914CC; Tue, 26 Sep 2023 08:32:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9E07914CC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695709976; bh=gtbQfv52m2Ux/MnPlo/wRteMjCyXVk7mFL/yjBTF9qw=; 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=DvwaywKF+0PY6OiFo6GR9nMVebMRShqYoKcvalzlxqzgd5D8Q3GPsrYslyjEKSEe7 YFNiBuzR4HbZKh+Wh14uiICLfsAfVFVf9odvJU9QCVRaT2mn2e+oylPrM0RPR2q9DU w7pCUMFYLUa4yiPVRW74aziWdW/uPXXrUTEIBCqg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0FD03F8057A; Tue, 26 Sep 2023 08:25:57 +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 5B6D5F8057A; Tue, 26 Sep 2023 08:25:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B9F74F805F8; Tue, 26 Sep 2023 08:25:50 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2072c.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::72c]) (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 00EF4F80587 for ; Tue, 26 Sep 2023 08:25:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 00EF4F80587 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=PRkFO2/9 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fWulCmxCyridUDY8WnKYbXmT9MfEUc6DgS02iGEu1mbwr2csnqYedMDwcAGkuz6te9YNGFIVYKHR8zbNARz1UiSxS3kZzJnonVZAAwqxO73pUE3EPdOOt8StI7NzdiKqO22tYJEgb6vqs8hqofw0y0C8+snBbgCXUZTMLkpyMslLGfSAD+ug96I7d3tMkNcldZaLUjkTUXaY2jCdS5/NKtaEbtBQRuAHNc7a7NYairIY8ZLzAR4th8s/TxrTjdKESgCwcSLOeEe+9Lcm5pLNsWcVx5VQyb9fceYaGYPdGDnL5ObHV23pYf+UNd0Wl4c1lYiv364B36RJ+F/j1L5sKg== 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=mxew44fvwtOurbHt8+DnJZfyQMaAHfeNPFFAIJE36uY=; b=hwTwAeJSPEfMYkiwj81pVqk7O8DuHgy2UzgSJGpwhyH81geFx9FW06B+RzFf4fUMqPouHb/jwLUzw+yDBEp9ZI737N7lnZ3NhOlh4eJD2Z6MNTTvg117nXaDCerHPH6QSMG8br2LxoM9ds+Qg+/yclFWNFwAJr4h27A6xjl1eCpM9mWpfaa3L/Iy2R4xXoMrjsJbuQtiRmzchI6StJ9QlS23+rlso5kYV+kYqeihm3VeJimTiHVN04Tv0x2Caj/npndrLVllNKJqLDtz6mZxIT9+3SBhLM8LMS6B3y8ywXFih5eCgRRkO8vhkxp9xFICd4dlb7L9sV062thTyj1K7w== 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=mxew44fvwtOurbHt8+DnJZfyQMaAHfeNPFFAIJE36uY=; b=PRkFO2/9QDdwOvFNFyXKSTmvptfVrANi7iwInEh7fup/MR0ew1jSRFN90K5O6z7F+4QbOND8aeRFl7vE2AEaOyl4TrelF2Jpt1ryNARN/uOR2DWyBw4H6Aqqy/YsPHtbE8IyxnCJTCJpnE7SSovhF8zOyatIRp6fWpUFbIeF2Lk= 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:25:33 +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:25:33 +0000 Message-ID: <87r0mlfo2s.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Bard Liao , Daniel Baluta , Jaroslav Kysela , Liam Girdwood , Mark Brown , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Takashi Iwai , V sujith kumar Reddy Cc: Kai Vehmanen , alsa-devel@alsa-project.org Subject: [PATCH v2 41/54] ASoC: sof: amd: 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:25:32 +0000 X-ClientProxiedBy: TYCP286CA0322.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:3b7::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: f7c37523-2306-4b3c-5d7c-08dbbe59639b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KFueN7O1X8TfTz7zAEjvneQ1lB46GWCqYoTKbM7OqJ74fgL338/X84Kjmasbl5HS9SsP6iAKRdtIcASUFZ+RcC3Y0lcoPOmHbIVeKwQZD17K2YZqT+6Fu9+Zvyd9GsUCe8oR+PQ588psK+mPDTAt3kwe3Op+jes8d3mD722HuvPHdWtYJbI0lUzUAuAZ1/5Y4AoshzUcOOGqAuo9DZui/2evs5WisfW5i6HnX2/CgfshFF0khiJgZOqZpd1+XkBZduV1eHc5F7J3JXXeeflZCBJs6dYCUK42mxN+nNlqSaLBa+8wCpMcqTn5YZ8Cd0rjI0N7I2RoSqARIhqHVTd4MUeQoqzquplFJSzTfRCYdHPSFLwhdyyA8tmz+dJZtTqv/XfcHu8ykyzwUgLC/22EBUrJM5cZifJCG/uhrGyh91KxNnSz+KgDGXCv2OTgaksJ9zyAD+rvsOQE2aIItAZvCghWz73xhITwnp7OPIC9XKEGW6XyMJstosHZWAYWxhCWMOZi1JrXBZFvXAkjjMXAmjClDPp0NCXUTJfQA8yqeXMK84pQofhtzwqSSeu4NA+c02CnVeMn3INse5OXibRv3mv+UEGuJQSIEUrp/eupxdVnMF2UJnZjZxuEe+TlUua6e3UrrDMkKUedv32FpAvP7wLKClGdMl/aNRXGkHFAm3I= 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)(4744005)(2906002)(110136005)(66556008)(66946007)(66476007)(316002)(7416002)(4326008)(8936002)(8676002)(41300700001)(5660300002)(2616005)(26005)(83380400001)(36756003)(86362001)(38100700002)(921005)(38350700002)(6506007)(6486002)(6512007)(52116002)(478600001)(21314003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: o80V7oQyucy/ahgkzRZzpDgUZr2A00oxvzWGFeJ6NulpQK2C2QU+8IcBJmhrrFLXRKCKEfH8AO68npJI1+eEMznGhuxk1jVzhUPG2+omPHzoYMSmrbLQhmxguny+l5H2uesI/J+mojUzr0RmSYCb2b+THhcNMRi+wwMvaurTHf+3AWHMTLg0blb3B0xjkdXneXfZ84NumIzByY/lyv3lY+2MGLoqHKY9vb6uOBikt3APkbYkkAEoBkplWk2kwYWBuNZDb9WwjUM6LLWp6GpGwmInCUZIor8+s5oBC1+AhiCR35rWkUC1C+NCaFQzgTzvKRQ4+ePnl35kw+1ANFquW1u+sE2firX/7w5AFzlzTxco2RrEQx0gV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L76LqXnpdQuc+23v2jqgkjsoAXnr0gMZyYRnwnO35zuI5Amsi2AKkMclCEYhJVVfdGHZy/tvk/mMkfciYucIsq8RTo506THJxD1ka56k1T2Oc2Plu01gBDOVPnA53MzyHhk7J8JGZ6c4KxcRYMAAYv1C6M6+zJU9xSaQ3p+1gP84QRMBxCbUgX7br0UzE0Yo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7c37523-2306-4b3c-5d7c-08dbbe59639b 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:25:33.6614 (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: RAoH5dVTzsy+X4gOpGMoIkGuqt1vZNseS+sY3cMpSsDmoT2yyWPKGIOwP4xUfWAy85mFi39iA2lFEs6weodfVxWQeqZmpykXwsI4HciaiNoA8IWjeco9ITiwDv4WjkMN X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB10043 Message-ID-Hash: C67TNEFM2IKRX4DHPLY54MVDHSUEOX3H X-Message-ID-Hash: C67TNEFM2IKRX4DHPLY54MVDHSUEOX3H 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/sof/amd/acp-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/amd/acp-pcm.c b/sound/soc/sof/amd/acp-pcm.c index 0828245bbb99..cee0b1154874 100644 --- a/sound/soc/sof/amd/acp-pcm.c +++ b/sound/soc/sof/amd/acp-pcm.c @@ -89,7 +89,7 @@ EXPORT_SYMBOL_NS(acp_pcm_close, SND_SOC_SOF_AMD_COMMON); snd_pcm_uframes_t acp_pcm_pointer(struct snd_sof_dev *sdev, 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); struct snd_soc_component *scomp = sdev->component; struct snd_sof_pcm_stream *stream; struct sof_ipc_stream_posn posn;