]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: au1x: name back to pcm_new()/pcm_free()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Mar 2026 02:25:18 +0000 (02:25 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:37:45 +0000 (13:37 +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/874imgldd6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/au1x/dbdma2.c
sound/soc/au1x/dma.c

index 3392693faeb93245b895a6abd82038e9e021e4dd..3d10d64604727e85d928c08230d3ba353b735c11 100644 (file)
@@ -319,7 +319,7 @@ static const struct snd_soc_component_driver au1xpsc_soc_component = {
        .prepare        = au1xpsc_pcm_prepare,
        .trigger        = au1xpsc_pcm_trigger,
        .pointer        = au1xpsc_pcm_pointer,
-       .pcm_construct  = au1xpsc_pcm_new,
+       .pcm_new        = au1xpsc_pcm_new,
 };
 
 static int au1xpsc_pcm_drvprobe(struct platform_device *pdev)
index 8d91a0e0f112d4f2b581fed7bc9d8ddc65e8d85a..026d9f36db10663711288e9c7684bc4f615651ba 100644 (file)
@@ -296,7 +296,7 @@ static const struct snd_soc_component_driver alchemy_pcm_soc_component = {
        .hw_free        = alchemy_pcm_hw_free,
        .trigger        = alchemy_pcm_trigger,
        .pointer        = alchemy_pcm_pointer,
-       .pcm_construct  = alchemy_pcm_new,
+       .pcm_new        = alchemy_pcm_new,
 };
 
 static int alchemy_pcm_drvprobe(struct platform_device *pdev)