ASoC: renesas: name back to pcm_new()/pcm_free()

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 c64bfc9066 ("ASoC: soc-core: add new pcm_construct/pcmdestruct")
[2] commit e9067bb502 ("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/87jyvcjypw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2026-03-16 02:26:59 +00:00 committed by Mark Brown
parent df202b5e6d
commit 2840266185
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
5 changed files with 6 additions and 6 deletions

View File

@ -310,7 +310,7 @@ static const struct snd_soc_component_driver sh7760_soc_component = {
.prepare = camelot_prepare,
.trigger = camelot_trigger,
.pointer = camelot_pos,
.pcm_construct = camelot_pcm_new,
.pcm_new = camelot_pcm_new,
};
static int sh7760_soc_platform_probe(struct platform_device *pdev)

View File

@ -1817,7 +1817,7 @@ static const struct snd_soc_component_driver fsi_soc_component = {
.name = "fsi",
.open = fsi_pcm_open,
.pointer = fsi_pointer,
.pcm_construct = fsi_pcm_new,
.pcm_new = fsi_pcm_new,
};
/*

View File

@ -514,7 +514,7 @@ static const struct snd_soc_component_driver msiof_component_driver = {
.open = msiof_open,
.close = msiof_close,
.pointer = msiof_pointer,
.pcm_construct = msiof_new,
.pcm_new = msiof_new,
.trigger = msiof_trigger,
.hw_params = msiof_hw_params,
};

View File

@ -1117,7 +1117,7 @@ static const struct snd_soc_component_driver rz_ssi_soc_component = {
.name = "rz-ssi",
.open = rz_ssi_pcm_open,
.pointer = rz_ssi_pcm_pointer,
.pcm_construct = rz_ssi_pcm_new,
.pcm_new = rz_ssi_pcm_new,
.legacy_dai_naming = 1,
};

View File

@ -546,8 +546,8 @@ const struct snd_soc_component_driver siu_component = {
.prepare = siu_pcm_prepare,
.trigger = siu_pcm_trigger,
.pointer = siu_pcm_pointer_dma,
.pcm_construct = siu_pcm_new,
.pcm_destruct = siu_pcm_free,
.pcm_new = siu_pcm_new,
.pcm_free = siu_pcm_free,
.legacy_dai_naming = 1,
};
EXPORT_SYMBOL_GPL(siu_component);