From patchwork Tue Sep 26 06:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 726440 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 522DCE8181F for ; Tue, 26 Sep 2023 06:28:15 +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 A2288E80; Tue, 26 Sep 2023 08:27:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A2288E80 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695709693; bh=eILXEVtZvUbFd4iagoYawmSmzRVRpgV0RPQf7ilyUGQ=; 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=spl3tGP53P4ib5FhWqiHcsf0etIfwm9yBRMC4RVs6uqnynJfnYSw73pFOONdP9WHH 2onU912bEfDGT4UTX9kZcX0+fAoEXaTpW19fxK7UdcAfj0XQFiwMn2DPoqX5FEwOBt adqwCxotwhjudEVfI4VFsIEaDMEeDyh1ONwGF1Ko= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 668B4F8055C; Tue, 26 Sep 2023 08:23:47 +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 45307F80631; Tue, 26 Sep 2023 08:23:47 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AE087F8060B; Tue, 26 Sep 2023 08:23:42 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20724.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::724]) (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 A9920F805CB for ; Tue, 26 Sep 2023 08:23:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A9920F805CB 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=k0rVzzmu ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J67n2cYoFN6Xu4hVrpiEzvq/HNG3QRMQ10w6UTbRIo7GSM3vaglEwjZslHQ79w91xBp1S4GGklvr2HT9U4osR14NohJEnauCBp2y6cPgx3WChAyUya/0lswGhRJj/w8+/MDT2Ll1q6FJHqsGKRDkltouH0ne8+0uH31vohqL6xarSK3AHhjw35Jt2TfQXfBpza+fEFrS95A0hsuBTdk4LTy/WRcQ4ErVXCeCgeF7ba/51RFJA3IT6axU/btNeO5+pOFpK5OYvYviZWBI7ne251Y95PBMyi321q7j4Oc8gkd/hBuxBy0G9skEEPZVI5dGFfbu+vd3q2iEzCyc5bQ3mg== 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=YGEw6NxrWw1LVuGw0JtTvQzF1g/BPu2nyqupaipEadA=; b=N+y9aOq6eLNlCywkf7FeaDm0s6NKBfhropi3pS6x5jvdvx6N3gLkjm5Jck4XmOBXpoUDBaiKh6CrHx56HWLUldUzoeeKvqhTZbFYYi7IL8sKN9oiviNeNcIrawPuK8sT8GDOigNm4QFp7tV2JZMxr8fbt4DDyjJFRKZ/u2NrsR3iQ9T+wAeYNkepanPx8EFXiHeV6UjUfLoIeAC0JE8Zqw8779JXOx0DwdccM+Ug1X69wRjyFR5Ak/CvJpOxzlH0onxYjmxmod81UIR5WKIZpmDtHkp/iUAk8L2t8wapwFv2BZV8HI1s+KF+ebZR0tHQ4tK3wUCCa+pF78njBHJ0Ig== 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=YGEw6NxrWw1LVuGw0JtTvQzF1g/BPu2nyqupaipEadA=; b=k0rVzzmuJ5T6AWQj+jxbg/+FIfLt43TtQAXQh+wK/R1ebnClackOa22pzt3oA3swSxwzpcE9+Vgd68usMzSLGqkEK1BjKC0tNO3mXp4RX0KZr3Xy79+n7IQvzwuO4TP1FG0WkFmz8XhRm1PtLEtUkYl6sQnIVf8nRc7Sllo1s9M= 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 TYCPR01MB10364.jpnprd01.prod.outlook.com (2603:1096:400:240::8) 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:23:12 +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:23:12 +0000 Message-ID: <87bkdph2r3.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jaroslav Kysela , Liam Girdwood , Mark Brown , Max Filippov , Takashi Iwai Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 27/54] ASoC: extensa: 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:23:12 +0000 X-ClientProxiedBy: TY2PR02CA0045.apcprd02.prod.outlook.com (2603:1096:404:a6::33) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYCPR01MB10364:EE_ X-MS-Office365-Filtering-Correlation-Id: de3b5347-289b-4370-e158-08dbbe590fb0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AB9OwkAFBRhBtflubt8Owedrm8XGU0wfD5MSpevqLgQSCrirQulB9Eng9FZJWFjHX8Mfq+XbsymYnjbqjgE9/qq/aiFddzTSF+35CKnZgnddpSLAuTQPup43bxWa4YBs3XhGE+Q8OHvyhS/bkloHGTtQbjUWzj0zofjYVWEWPUT9Lgjpb3qoAGDfclvjX3C62w5uZC3pjW7ffdo1pYrhS+J+wlEMzF92GfhkPfaABJzOzV0359ootjSq29qIDT0skE729S2HSDLZY0wx/sYuRl9t5MjCvpWmGaluSPqQd3SDc8uHQysRI3UR+4ri+koA2hqWVX8i+prAouQkINwSr9zjNIVCaIgUhze2W9mW4FvJTgWWu4mRd6jw1aocGb4mCnDGl0Zz+fQYAGsmZGOo8UXp/Bga/4C3S+oNDYW4EfEIM7VzaBIIA39SvPLv7nZr49izoZFGg6qz8urDErQh5W9i0Q9w4jBjAswUIevFeNlTrd7zQn5wSjy8qs/WAs+N9V88XdzCISDHHgXAp2rsvGV5nrYUmJtnnv2hGEHNL4YAgboL+7qjT24qszM4ijaMQRdupOjVRkBp6PK70NznD8osRq2OIekqFLFjut4v4Zm8ODTNYYEaD+AMZ0ls15VUxxpNZ/1HERrB/yKTF6P+Yg== 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)(396003)(136003)(376002)(39860400002)(366004)(346002)(230922051799003)(1800799009)(186009)(451199024)(52116002)(478600001)(6512007)(41300700001)(38100700002)(38350700002)(316002)(26005)(2616005)(5660300002)(83380400001)(66476007)(66556008)(6486002)(6506007)(110136005)(8676002)(4326008)(66946007)(8936002)(2906002)(86362001)(36756003)(21314003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: b8tAZfh48xYBoQKCxdpfgofm1hdqE3n0tywlYpDACGZe60G24u5ArI7ChtKSNy44VHD1FxAmd26mjH18J3Wv9SmaETHb91LEL9dGFuN9sdlkd/iwn0ARixpWHc1A79EJA6b/uh8Jc6dFQthnX0Lu7xjUcxKWoQOaM3rKUOLQwiMzqjf9SD8Zw2kBmeDcS5HNOvyM4zGvkfjnZ80yAnuAqt76YR+qXx+/9ms5MT3wTWDZ17zBsxJzXV0jN16WuHgyeqYqVc7p5jDvFVQfc5nkp+8q7wySKydr8f/BSxcgkTbnHfoBNa7J3N5cQGm6AURFRcANAZtvFm6Kyd0nbp5HHzr9KonTCTGlXI2ZPDuOGOPD4pBoNuPsXaoS2sjBpfwe7LBJbz+HIb/xi0G7vuuwf8aIxb6wholFZrNzRqCzQvSZDlQJJXXYRKue+ET18twG+A5eeLUBJhw4C/Bl7CVihsvMFgrnj22lbU4G76RzTWKFeUhLpBExP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H9JoqFkTW+Jx9rQCnjqXV3EJiiMmoYcY7XyM/yiTvkXSBblbr0GDf4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: de3b5347-289b-4370-e158-08dbbe590fb0 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:23:12.8653 (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: NYunO1DUnIANKr0UwgZJaO9nZErAR+ZtzW+h/+skp+NbGvRI+2NeyOa6VGYh2V1LFdwVYp8JbBaaLUEykGs0+9L4L66PsaAAMxke5N3XVOoMZHzgQnovE5/vOCpoOqPw X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB10364 Message-ID-Hash: 3ML5BFAOGSFGN275RUGYFQ3THJUMWGVF X-Message-ID-Hash: 3ML5BFAOGSFGN275RUGYFQ3THJUMWGVF 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/xtensa/xtfpga-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/xtensa/xtfpga-i2s.c b/sound/soc/xtensa/xtfpga-i2s.c index 287407714af4..6e2b72d7a65d 100644 --- a/sound/soc/xtensa/xtfpga-i2s.c +++ b/sound/soc/xtensa/xtfpga-i2s.c @@ -369,11 +369,11 @@ static int xtfpga_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) { struct snd_pcm_runtime *runtime = substream->runtime; - struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); void *p; snd_soc_set_runtime_hwparams(substream, &xtfpga_pcm_hardware); - p = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); + p = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, 0), substream); runtime->private_data = p; return 0;