ASoC: xtensa: 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] commitc64bfc9066("ASoC: soc-core: add new pcm_construct/pcmdestruct") [2] commite9067bb502("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/877brcjyoh.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7649b2f1f8
commit
667fb65f51
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ static const struct snd_soc_component_driver xtfpga_i2s_component = {
|
|||
.hw_params = xtfpga_pcm_hw_params,
|
||||
.trigger = xtfpga_pcm_trigger,
|
||||
.pointer = xtfpga_pcm_pointer,
|
||||
.pcm_construct = xtfpga_pcm_new,
|
||||
.pcm_new = xtfpga_pcm_new,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue