mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
ASoC: xilinx: 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/878qbsjyon.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
88e277ef78
commit
7649b2f1f8
|
|
@ -582,7 +582,7 @@ static const struct snd_soc_component_driver xlnx_asoc_component = {
|
|||
.hw_params = xlnx_formatter_pcm_hw_params,
|
||||
.trigger = xlnx_formatter_pcm_trigger,
|
||||
.pointer = xlnx_formatter_pcm_pointer,
|
||||
.pcm_construct = xlnx_formatter_pcm_new,
|
||||
.pcm_new = xlnx_formatter_pcm_new,
|
||||
};
|
||||
|
||||
static int xlnx_formatter_pcm_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user