mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
ASoC: amd: 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/pcm_destruct") [2] commite9067bb502("ASoC: soc-component: remove snd_pcm_ops fromcomponent driver") Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/878qbslddx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
68130eef1e
commit
fe33a69681
|
|
@ -1252,7 +1252,7 @@ static const struct snd_soc_component_driver acp_asoc_platform = {
|
|||
.pointer = acp_dma_pointer,
|
||||
.delay = acp_dma_delay,
|
||||
.prepare = acp_dma_prepare,
|
||||
.pcm_construct = acp_dma_new,
|
||||
.pcm_new = acp_dma_new,
|
||||
};
|
||||
|
||||
static int acp_audio_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ static const struct snd_soc_component_driver acp_pcm_component = {
|
|||
.close = acp_dma_close,
|
||||
.hw_params = acp_dma_hw_params,
|
||||
.pointer = acp_dma_pointer,
|
||||
.pcm_construct = acp_dma_new,
|
||||
.pcm_new = acp_dma_new,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ static const struct snd_soc_component_driver acp63_pdm_component = {
|
|||
.close = acp63_pdm_dma_close,
|
||||
.hw_params = acp63_pdm_dma_hw_params,
|
||||
.pointer = acp63_pdm_dma_pointer,
|
||||
.pcm_construct = acp63_pdm_dma_new,
|
||||
.pcm_new = acp63_pdm_dma_new,
|
||||
};
|
||||
|
||||
static int acp63_pdm_audio_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
|
|
@ -634,7 +634,7 @@ static const struct snd_soc_component_driver acp63_sdw_component = {
|
|||
.hw_params = acp63_sdw_dma_hw_params,
|
||||
.trigger = acp63_sdw_dma_trigger,
|
||||
.pointer = acp63_sdw_dma_pointer,
|
||||
.pcm_construct = acp63_sdw_dma_new,
|
||||
.pcm_new = acp63_sdw_dma_new,
|
||||
.use_dai_pcm_id = true,
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ static const struct snd_soc_component_driver acp3x_i2s_component = {
|
|||
.close = acp3x_dma_close,
|
||||
.hw_params = acp3x_dma_hw_params,
|
||||
.pointer = acp3x_dma_pointer,
|
||||
.pcm_construct = acp3x_dma_new,
|
||||
.pcm_new = acp3x_dma_new,
|
||||
};
|
||||
|
||||
static int acp3x_audio_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ static const struct snd_soc_component_driver acp_pdm_component = {
|
|||
.close = acp_pdm_dma_close,
|
||||
.hw_params = acp_pdm_dma_hw_params,
|
||||
.pointer = acp_pdm_dma_pointer,
|
||||
.pcm_construct = acp_pdm_dma_new,
|
||||
.pcm_new = acp_pdm_dma_new,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@ static const struct snd_soc_component_driver acp5x_i2s_component = {
|
|||
.close = acp5x_dma_close,
|
||||
.hw_params = acp5x_dma_hw_params,
|
||||
.pointer = acp5x_dma_pointer,
|
||||
.pcm_construct = acp5x_dma_new,
|
||||
.pcm_new = acp5x_dma_new,
|
||||
};
|
||||
|
||||
static int acp5x_audio_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ static const struct snd_soc_component_driver acp6x_pdm_component = {
|
|||
.close = acp6x_pdm_dma_close,
|
||||
.hw_params = acp6x_pdm_dma_hw_params,
|
||||
.pointer = acp6x_pdm_dma_pointer,
|
||||
.pcm_construct = acp6x_pdm_dma_new,
|
||||
.pcm_new = acp6x_pdm_dma_new,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user