From patchwork Tue Sep 26 06:24:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13398762 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 D420CEE020C for ; Tue, 26 Sep 2023 06:31: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 0C2841497; Tue, 26 Sep 2023 08:31:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0C2841497 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1695709915; bh=GvMHA3q3/joZ431ycNvrh3zgCQ34M5+nSKiMF6/+Q0w=; 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=mq0wGbrJIn9s7L0KNrtEfRyq3IJPOgglflm5rcDACCQI7NUzYVR24vGpIS2Q+GqK5 iFuJf5uNs9imXcItcAvyqmIdxF+/2CGKbB/8clJC5pbVxZa+zYMxV9qxHKkkyctMAb IoQcAWElSbFWElayYqhA0hLu3LLYwnVc+Qf/E5tM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 54205F805FF; Tue, 26 Sep 2023 08:25:19 +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 AB62BF80290; Tue, 26 Sep 2023 08:25:18 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9D726F805FA; Tue, 26 Sep 2023 08:25:13 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20712.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::712]) (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 18163F805D4 for ; Tue, 26 Sep 2023 08:25:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 18163F805D4 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=Bq2dhyIV ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kZmz68LDytOFI1lWOGOXYzzLyWn3rVDxM9O+o3UkazYRFRJi8blFMwZ9VT8WW2mVAhtkQWTDWbBTps2AOcgiroAn83OLs9QJ8dxl7fHSd4SLxtTuEAua3RqtnZI0xnHZvtzMIAJDV2Jd+UTZX+Mrsl3Bf0hsM6nb1C3MXnwWmKK9qrt40GX/vHlbYFng/Vz2xXJ2OAvHFgZSkueKbeGgVykIcfk73vqGVcplapCg3ASwlw9ce5Zzp3uwtYMOJRkft4iuU/384Y35E3kysZY4mMjLjFJHGvxhS5XzC1D7h7Kz/6lcyOC6nWVIRfheb/u+xEsp9lvd641s9s05WbItdg== 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=tHTbPZSQ3tAuQrpNvUNQTHDJgZS5KjD1PoCKBAToRGk=; b=KKyAA0ePr2b+pSdAoMw0FfLAgwzl0O9QwHLM6PgVhVQE9syVHEg1ZqTMKbNvQdSJ9VDF38V5LvJbwgDl5d94lKxlThl9dDh2s/rvTjyeg5mFXhroJDTBhorKus0qm5l6Zi7h1O1Xwe+fvLsEi6k3DPF34b1oDMcBjxtjS9CfZUNW7qFOYYQDn4WJ7Lk3VWGsb3UtxxzlYadjcwhF6Be3hrk6ItRoqnZVYA4n29p5RwHSSBGoNSzAzj1CWGOSwWsKxubkDJjhoYJ6R1ybWytIZ18X8lgsUQ7z6WZB8QXG1dtQvTsWE5KVSeU+w+jYtgMEfiazkPGt5CKwB9KiRhJL3Q== 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=tHTbPZSQ3tAuQrpNvUNQTHDJgZS5KjD1PoCKBAToRGk=; b=Bq2dhyIVupNgnmS2N0oX2EoXZ5x9ZHS2fdFWFrZQ2DzJ+irUPS1QYkemnXqoT5VDkqcVhVQ0RSFSAM/eGmJaGAdhUPIQKy1MdlXXltHDQYsiD12ML7J4g3di4wDYWCPiiQ1RtY2vgLt6w2tapOADAD2gdIGuX5bXtgJ4+zm2a/s= 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 TYCPR01MB6175.jpnprd01.prod.outlook.com (2603:1096:400:4b::12) 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:01 +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:00 +0000 Message-ID: <87v8bxfo3q.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jaroslav Kysela , Jason Montleon , Liam Girdwood , Mark Brown , Oder Chiou , Takashi Iwai Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 38/54] ASoC: codec: rt5677: 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:24:57 +0000 X-ClientProxiedBy: TYAPR01CA0213.jpnprd01.prod.outlook.com (2603:1096:404:29::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_|TYCPR01MB6175:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f256511-e13b-4973-bfdb-08dbbe594ea0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: in4DvmzPb3R+sIezpdiRMw1XwSwWxcJ8EZCQZiV4u7n2b122ZOkLxZ9ziaM6ia80JJbao/TLusoMva/p5erxi2WIqqv12YInXP1Ga4KvJo+1vAvOEfyfvjFE1wn3DrrDZguuUc4pWdrEaHJqaMTBEShoferWHF0rGhrrdqnFciTTZdZBdB1nVUePe603T4h0N7pPzX7RnyJ5oOg5vSc3LpSRGJhLEiPp0SsSt08dqcETs9QVgRZW1+6GA0my0ehrNwkyDvo0SChCT5qL6k9ashkzX7IYWetzKXSIuZwk+qX3tmm6dqYG1QFrLmNNgADY+gdUzV7CAAdwJEzxBIBv56WfT6pxdRBIEexYvdA2PrBxveaQ2xbUFAlkVofdxFRepmX7AfwBWiuBfCxWIFPVB9WjzpB9ZVu2eSQUC2SCAFPi1X8oQtg3LumaWtNE9row3TwT1dO+GXNeTauZgsHukfNPOG4a044a4ucZvzChSrB9BCMijKGYFJ3MLIjU/4AKkoOLwBXGI0Y+q/81yBBeJpd5BpT0eDfxxCiPfkVUtOecLr4tGhbghg2Not6+sYKNb9rbplBxgSqS7uDUilyYmYy+1nEHNGGsS0Nalz5lc3/4ndidZj5YHn+xnNKr6ZLBSUeMICmswofI+xpkjqvxRA== 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)(376002)(396003)(366004)(346002)(136003)(39860400002)(230922051799003)(1800799009)(186009)(451199024)(6506007)(6512007)(6666004)(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: MVr4VP1A0GmMWrXX55Kjn5DQZSDtxBb273VAcfkP11AJcMa6dqc5VM2p2J4CgS8Onz/Ub+AfHaUxKS2dmd1vN1G/mgtcJ27iFV5N8fT9XLDR0cdZ7JVCSggnp9j5UmrgmuTzvExAxfsNlyvXRCVshvQrHGZbaGzjlkT/OouwoPMNt9beQJiHgzZoxD9KuDBcL+fam9YX18pC+ueHkl2vrX75V2z8gIfy3PcIE90dgvidJVTwt+/RudmJvdGnFYI9myfgB2ruLpNt9qq2Q5X0Yr4YPToO3qHRWH5q1/piDJNj1e9QC107UrrtTXx64KC6zXpPL2601Z9HVCkqdA17tsBN3lT+SqSmR7lVzIplaUc7riwcRfPixzkHgXQQiG6e9moPVOyfUa/QjPrBTS6pbnQUoiBMbvG97/BVMwNutg/9JKMhFXC095y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6iokL90ZlkOV1V0o1Qoc4lI5sdx3gE/vyNVPD95u3GusArr5xBhugZQxpLSnlzIUm25rjsVzFWUVVBGZOzHUHuH8eJ4hgysQoR8p7hYi4e1la3W4WPj3StyUc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f256511-e13b-4973-bfdb-08dbbe594ea0 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:00.0265 (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: uxZpayIj8rTP/GB/T2cGq6a+dWWO2TxTgxNQUx/uZuZylBDQEvPlFyPSGI5GbRBid/F5Ma3A9JhMsQEMwAfoofLQcgd1MU2SSauBDV2AdUDn67rq7nZCsYTAHS0Ts/AV X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB6175 Message-ID-Hash: IUUSS76YAQBM7ZQNXYHJGJL2WCK3A3LA X-Message-ID-Hash: IUUSS76YAQBM7ZQNXYHJGJL2WCK3A3LA 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/codecs/rt5677-spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c index d25703dd7499..d91a2184f67c 100644 --- a/sound/soc/codecs/rt5677-spi.c +++ b/sound/soc/codecs/rt5677-spi.c @@ -112,7 +112,7 @@ static int rt5677_spi_pcm_close( struct snd_soc_component *component, 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 *codec_component = snd_soc_rtdcom_lookup(rtd, "rt5677"); struct rt5677_priv *rt5677 = @@ -158,7 +158,7 @@ static int rt5677_spi_prepare( struct snd_soc_component *component, 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 *rt5677_component = snd_soc_rtdcom_lookup(rtd, "rt5677"); struct rt5677_priv *rt5677 =