Unverified Commit 7fce3691 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: loongson: 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 c64bfc90 ("ASoC: soc-core: add new pcm_construct/pcmdestruct")
[2] commit e9067bb5 ("ASoC: soc-component: remove snd_pcm_ops from component driver")

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87pl54jyqm.wl-kuninori.morimoto.gx@renesas.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 31447bd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -341,5 +341,5 @@ const struct snd_soc_component_driver loongson_i2s_component = {
	.trigger	= loongson_pcm_trigger,
	.pointer	= loongson_pcm_pointer,
	.mmap		= loongson_pcm_mmap,
	.pcm_construct	= loongson_pcm_new,
	.pcm_new	= loongson_pcm_new,
};