Message ID | 875y4gs24z.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 2D2FBCA0EC6 for <alsa-devel@archiver.kernel.org>; Mon, 11 Sep 2023 23:50:39 +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 2A183DEF; Tue, 12 Sep 2023 01:49:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A183DEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694476237; bh=ngGbqft2F/6DW32LLG6xCqbQe5vFXLGEJYGNmoScU8Y=; h=From:To:Cc:In-Reply-To:References:Subject:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=GwI4nSfX9HYO7R0Nmme1MF8Ty/g2THK3WImiHwNlQOnU3salGUT0iXHbliIGPW/6g KwLrX51b0RrBid5B1u5hRs9vcOeA59gxJxbrxnOd8oA2Pe4nzB0q2zy3/+YExFxbxN +HNRB8Gx//aIpqZOJXyeK+mDauOigCluvTmbtol4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id F1AE7F805DA; Tue, 12 Sep 2023 01:48:06 +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 53D69F805DA; Tue, 12 Sep 2023 01:48:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CBABCF805C5; Tue, 12 Sep 2023 01:48:01 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on20719.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::719]) (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 079A7F80537 for <alsa-devel@alsa-project.org>; Tue, 12 Sep 2023 01:47:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 079A7F80537 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=ektRJAUK ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nevUOGnlkRfEghTsGvyhiVlMo3i4OpSaROngjb6c3II3YoI96NABtifg7JS59vn2Zx3/2W75o5rZEUKlxhJUPjYOgnMHIT5/H2zqCGzPtexFq5SEX+qVAJW1Vvp64YRX1ajogjmA5kcdFv/eisd7D25sKH6BJS4nQHogjzSDccS4t46YDM7AcVjHhOQwBkEmN5yABorCWjRzaspm2LK9DNtktO/ZIH9OYU6YEz/uQRmMixTO5bWmksfwZzjse4VpkzwdfGXuIGvqHsPfQLrqSdGCkXd229eddrYjOF/4ffUYB7XDxkGyDMTYYCv3fXU7aFCKy0+nA2Y2zGwVvEu1XQ== 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=4EMusKxjbQqR3D7XRw/r4v4X+SKzblia1tx4Zgn7hDA=; b=dru2nIG9vvUG7izW2A+ZB295BThHv0BrZygXF8JhSyJ9YnS9TISbFZYI2yyj1gVmPyIKSRsAyR3wTrsCkixqrp+uK7+P9b+eOTQedqPeIQtctGN1otiI6LdKjEIEMyfvUZyTx/YKYqJyNpOOhrCCc+gNhE3jO4IFYjbIkne1ly7EMvWqvYfxmx+QAPnRSrgWLD9AWbdpwk2uzBwYDMjBib31zjicIiZ//KD+kHEbloRYUpN1FxDMqQuvU/z9Z9A6pKUGYkk/SV4nO8iDzWcwI5oBPP4Zp/6oK7TcXXDiINZHPCPFENOHJKmsKHqXFgrdySKfG4VePM+odIvvn/bXKA== 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=4EMusKxjbQqR3D7XRw/r4v4X+SKzblia1tx4Zgn7hDA=; b=ektRJAUKr2Ihkix/AfC65xwf6V7qp+9N0QVoTy72/m8WNKBt8ahCulFxq20woIARns+z3okNEFmX131DUOjWK266D978CZzzXo03bg6Tb8sI4eW5qJNPuniLhf2kReyC+n8cwI5NW321Q1TrTh/N8/vcWUloVdtaHDn75jkfmqs= 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 TYCPR01MB6192.jpnprd01.prod.outlook.com (2603:1096:400:4b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Mon, 11 Sep 2023 23:47:56 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::8c08:d94c:8e54:9b5d]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::8c08:d94c:8e54:9b5d%6]) with mapi id 15.20.6768.036; Mon, 11 Sep 2023 23:47:56 +0000 Message-ID: <875y4gs24z.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> To: Jaroslav Kysela <perex@perex.cz>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com> Cc: alsa-devel@alsa-project.org In-Reply-To: <87h6o0s275.wl-kuninori.morimoto.gx@renesas.com> References: <87h6o0s275.wl-kuninori.morimoto.gx@renesas.com> Subject: [PATCH 08/54] ASoC: dwc: convert not to use asoc_xxx() User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Content-Type: text/plain; charset=US-ASCII Date: Mon, 11 Sep 2023 23:47:56 +0000 X-ClientProxiedBy: TYCP301CA0032.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:380::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_|TYCPR01MB6192:EE_ X-MS-Office365-Filtering-Correlation-Id: 379f2a05-40c5-4861-4451-08dbb32185ec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +UHqoEoox5zFXCnigIYx5V5laANP+rAOxgqU9ATPRjBa8vyRRMXiApIQTI+fwt6AWHUU6bGDApqK1WvZzQrDcAhSaTk0tfNUZrDE+WnNXOb6wQpZvaVWo6+lm8P4Jb9cP/Lq4wxqNOw7xR4bawWOGsZ0sM1QhlNegdhSglkAtXPScKLRU7p9dI42q/7TfC13IKNYVPd8cIfa1P/abZ5fyYK0PO8ThRrzjSVcQVQzpKRt0+iwspqb8ayjYd0XCLfFD96uMe/k+PyWIcp+1OY0q1j71vWCTNkrBAhnWOvCZnOQl7swN2MQEGU1UJhzXt8kHK3rW5i3q894m01RunBAkO6CmPGSMj8Ng6bybkv7QwHHEkHP6vod+W2btPRjEDQ6HENc0oWISDyqndoqu/Ih95vbjtDPcTc5MSEUoKGgd1r0XxjaI9bZXaY4AcrcxTRKzxHdu77vtGaEXBMsvKSBUu113mHPRGFwpYUdH8TxVKaQ/sYsU0cIISA5OTo6vXAjAenAwIxcs955fbxGNZSD8nET0f8X/euR++B3gUhoRkiz+pScYJD0WM1STtt6lb/HamGNjrvnF+mpp0yLXf9HGaF7JNNJp0UU4WpBVKEabLBnXSO7Hd4OuC7j19UTTQAJ4TJ0VkWaTznXjhHToE3prg== 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)(346002)(396003)(366004)(376002)(136003)(39860400002)(1800799009)(186009)(451199024)(6506007)(6486002)(52116002)(6512007)(478600001)(83380400001)(2616005)(26005)(2906002)(66946007)(66476007)(66556008)(4326008)(5660300002)(316002)(110136005)(41300700001)(8936002)(8676002)(86362001)(36756003)(38100700002)(38350700002)(21314003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7sUKL6z5Q+df2zfzpX45zX0wTZ6q5cNbxBmKrWWOnP0tMpGIVp9WW5cgjG4tcsGOi8JCcDZMFEO+/WP29TIRmRpirrSAdSilxyd6eXcJlBhj9h44cuBmpzVSdl9Riylm+wFh3Io1WmeCzcyG5cTpDWo5kZjmOWkstnSolsC1o88ttsMssxaV5fzwUiom10j6NmLKFfUSimwL2rVHEwNpJCDoLWPICzsTIt4tuaownhdtZkYPNslkTiJM6rpW7eAfexUbYwZO1l5gFuQLsXu41aRl5xb+C9KZiwX+oYSa9/vbIEQb/1Q54vc2GoP1Imju/RzELeNCcaTzrcahISkR4iSING8Gjxtep/KEssJU3d7PqxXJPa/Ih0f+3qDYKgpUuCjW79fkLDFxslhDF/E9Ao+X2c3sJQXf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ykr1Z7l/+vByh3MHoJbxKgxl9C0LLqtQf0Gfk2Y4Caxo28RtcONT80HIIFWQnYPaVsRaZX+MKRKiQpex9dYVtsUrCNR+H5e6GamBDWKzqnMBVYItmC0tKxhnBZB4Q32ekjTGh9pcHUIF0w= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 379f2a05-40c5-4861-4451-08dbb32185ec X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2023 23:47:56.6106 (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: S48DzHccO2IURNEHceONjMVYoKJwYf8Qmb/vkPTd4E1ANY2uYPHCPPIFRkVFcjwUH9LdwTLF+4P9oSzviycKJpKTslP9OxZxcMVg4a9xLr0IlybOlWLyoopHsAHomSow X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB6192 Message-ID-Hash: H47S63G7M7FH2YHGCJEKGHH67YU22YBR X-Message-ID-Hash: H47S63G7M7FH2YHGCJEKGHH67YU22YBR 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" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/H47S63G7M7FH2YHGCJEKGHH67YU22YBR/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
None
|
expand
|
diff --git a/sound/soc/dwc/dwc-i2s.c b/sound/soc/dwc/dwc-i2s.c index 22c004179214d..2ff619a296554 100644 --- a/sound/soc/dwc/dwc-i2s.c +++ b/sound/soc/dwc/dwc-i2s.c @@ -235,7 +235,7 @@ static int dw_i2s_startup(struct snd_pcm_substream *substream, struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); if (dev->is_jh7110) { - 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_dai_link *dai_link = rtd->dai_link; dai_link->trigger_stop = SND_SOC_TRIGGER_ORDER_LDC; diff --git a/sound/soc/dwc/dwc-pcm.c b/sound/soc/dwc/dwc-pcm.c index f99262b890082..a418265c030a5 100644 --- a/sound/soc/dwc/dwc-pcm.c +++ b/sound/soc/dwc/dwc-pcm.c @@ -139,8 +139,8 @@ static int dw_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 dw_i2s_dev *dev = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); + struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); + struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); snd_soc_set_runtime_hwparams(substream, &dw_pcm_hardware); snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
ASoC is now unified asoc_xxx() into snd_soc_xxx(). This patch convert asoc_xxx() to snd_soc_xxx(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> --- sound/soc/dwc/dwc-i2s.c | 2 +- sound/soc/dwc/dwc-pcm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)