mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
ASoC: renesas: 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/87jyvcjypw.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
df202b5e6d
commit
2840266185
|
|
@ -310,7 +310,7 @@ static const struct snd_soc_component_driver sh7760_soc_component = {
|
|||
.prepare = camelot_prepare,
|
||||
.trigger = camelot_trigger,
|
||||
.pointer = camelot_pos,
|
||||
.pcm_construct = camelot_pcm_new,
|
||||
.pcm_new = camelot_pcm_new,
|
||||
};
|
||||
|
||||
static int sh7760_soc_platform_probe(struct platform_device *pdev)
|
||||
|
|
|
|||
|
|
@ -1817,7 +1817,7 @@ static const struct snd_soc_component_driver fsi_soc_component = {
|
|||
.name = "fsi",
|
||||
.open = fsi_pcm_open,
|
||||
.pointer = fsi_pointer,
|
||||
.pcm_construct = fsi_pcm_new,
|
||||
.pcm_new = fsi_pcm_new,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -514,7 +514,7 @@ static const struct snd_soc_component_driver msiof_component_driver = {
|
|||
.open = msiof_open,
|
||||
.close = msiof_close,
|
||||
.pointer = msiof_pointer,
|
||||
.pcm_construct = msiof_new,
|
||||
.pcm_new = msiof_new,
|
||||
.trigger = msiof_trigger,
|
||||
.hw_params = msiof_hw_params,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1117,7 +1117,7 @@ static const struct snd_soc_component_driver rz_ssi_soc_component = {
|
|||
.name = "rz-ssi",
|
||||
.open = rz_ssi_pcm_open,
|
||||
.pointer = rz_ssi_pcm_pointer,
|
||||
.pcm_construct = rz_ssi_pcm_new,
|
||||
.pcm_new = rz_ssi_pcm_new,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -546,8 +546,8 @@ const struct snd_soc_component_driver siu_component = {
|
|||
.prepare = siu_pcm_prepare,
|
||||
.trigger = siu_pcm_trigger,
|
||||
.pointer = siu_pcm_pointer_dma,
|
||||
.pcm_construct = siu_pcm_new,
|
||||
.pcm_destruct = siu_pcm_free,
|
||||
.pcm_new = siu_pcm_new,
|
||||
.pcm_free = siu_pcm_free,
|
||||
.legacy_dai_naming = 1,
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(siu_component);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user