]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: soc-component: re-add pcm_new()/pcm_free()
authorMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:38:10 +0000 (13:38 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:38:10 +0000 (13:38 +0000)
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> says:

Because old pcm_new()/pcm_free() didn't care about parameter component,
to avoid name collisions, we have added pcm_construct()/pcm_destruct() by
commit c64bfc9066007 ("ASoC: soc-core: add new pcm_construct/pcm_destruct")

Because all driver switch to new pcm_construct()/pcm_destruct(), old
pcm_new()/pcm_free() were remoted by commit e9067bb502787 ("ASoC:
soc-component: remove snd_pcm_ops from component driver")

But naming of pcm_construct()/pcm_destruct() are not goot. re-add
pcm_new()/pcm_free(), and switch to use it, again.

Because it has no functional significance, 1 patch is for 1 vender.


Trivial merge