]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: pxa: name back to pcm_new()/pcm_free()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Mar 2026 02:26:47 +0000 (02:26 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:37:56 +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/87ms08jyq8.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/pxa2xx-pcm.c

index c34bfa27a446a289559a4e8236fa6cb20213c98d..37bd8dbd541f72c1f2554bcf94bb92924fc43a95 100644 (file)
@@ -843,7 +843,7 @@ static struct snd_soc_dai_driver pxa_ssp_dai = {
 
 static const struct snd_soc_component_driver pxa_ssp_component = {
        .name                   = "pxa-ssp",
-       .pcm_construct          = pxa2xx_soc_pcm_new,
+       .pcm_new                = pxa2xx_soc_pcm_new,
        .open                   = pxa2xx_soc_pcm_open,
        .close                  = pxa2xx_soc_pcm_close,
        .hw_params              = pxa2xx_soc_pcm_hw_params,
index 109a4958d9c04c6b027d89524ee3493d98330c1a..a0c672602918678b7f065bc01e9feaeba4064ccb 100644 (file)
@@ -198,7 +198,7 @@ static struct snd_soc_dai_driver pxa_ac97_dai_driver[] = {
 
 static const struct snd_soc_component_driver pxa_ac97_component = {
        .name           = "pxa-ac97",
-       .pcm_construct  = pxa2xx_soc_pcm_new,
+       .pcm_new        = pxa2xx_soc_pcm_new,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
        .hw_params      = pxa2xx_soc_pcm_hw_params,
index 849fbf176a70ffe776cd2da677e99bd52e11666c..f6ada6cffc8898ea6fc5b78f50abaadb087bef3b 100644 (file)
@@ -356,7 +356,7 @@ static struct snd_soc_dai_driver pxa_i2s_dai = {
 
 static const struct snd_soc_component_driver pxa_i2s_component = {
        .name                   = "pxa-i2s",
-       .pcm_construct          = pxa2xx_soc_pcm_new,
+       .pcm_new                = pxa2xx_soc_pcm_new,
        .open                   = pxa2xx_soc_pcm_open,
        .close                  = pxa2xx_soc_pcm_close,
        .hw_params              = pxa2xx_soc_pcm_hw_params,
index 9d6c41f775e51b69a66c9d76d8ce10333028993a..ff0fbb61dccd981658cc9de9bf9cd86d63cb6045 100644 (file)
@@ -18,7 +18,7 @@
 #include <sound/dmaengine_pcm.h>
 
 static const struct snd_soc_component_driver pxa2xx_soc_platform = {
-       .pcm_construct  = pxa2xx_soc_pcm_new,
+       .pcm_new        = pxa2xx_soc_pcm_new,
        .open           = pxa2xx_soc_pcm_open,
        .close          = pxa2xx_soc_pcm_close,
        .hw_params      = pxa2xx_soc_pcm_hw_params,