]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
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)
commit0861893cff96624523adc0968587fa64e9a9f76d
tree89198849819cd9c8636c5c209f5739eb8c8c7eac
parentcb15d8e6cbe8d085ac585016deb2e1e0107b99e5
parent175f733325ac2ce875cafd051980be2d2c06dec9
ASoC: soc-component: re-add pcm_new()/pcm_free()

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.