]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: soc-generic-dmaengine-pcm: name back to pcm_new()/pcm_free()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Mar 2026 02:27:11 +0000 (02:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:38:00 +0000 (13:38 +0000)
We have been used pcm_new()/pcm_free(), but switched to
pcm_construct()/pcm_destruct() to use extra parameters [1].

pcm_new()/free() had been removed [2], but each drivers are still
using such function naming. Let's name back to pcm_new()/pcm_free()
again.

[1] commit c64bfc906600 ("ASoC: soc-core: add new pcm_construct/pcmdestruct")
[2] commit e9067bb50278 ("ASoC: soc-component: remove snd_pcm_ops from component driver")

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87h5qgjypk.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-generic-dmaengine-pcm.c

index dbec46703b35ae5374c12fae00926919937fd9e6..6b8c65763c828311f2b98e6bb8015fc85fffa60e 100644 (file)
@@ -332,7 +332,7 @@ static const struct snd_soc_component_driver dmaengine_pcm_component = {
        .hw_params      = dmaengine_pcm_hw_params,
        .trigger        = dmaengine_pcm_trigger,
        .pointer        = dmaengine_pcm_pointer,
-       .pcm_construct  = dmaengine_pcm_new,
+       .pcm_new        = dmaengine_pcm_new,
        .sync_stop      = dmaengine_pcm_sync_stop,
 };
 
@@ -345,7 +345,7 @@ static const struct snd_soc_component_driver dmaengine_pcm_component_process = {
        .trigger        = dmaengine_pcm_trigger,
        .pointer        = dmaengine_pcm_pointer,
        .copy           = dmaengine_copy,
-       .pcm_construct  = dmaengine_pcm_new,
+       .pcm_new        = dmaengine_pcm_new,
        .sync_stop      = dmaengine_pcm_sync_stop,
 };