mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
ASoC: pxa: 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/87ms08jyq8.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6f3658d6ee
commit
0828e05041
|
|
@ -843,7 +843,7 @@ static struct snd_soc_dai_driver pxa_ssp_dai = {
|
|||
|
||||
static const struct snd_soc_component_driver pxa_ssp_component = {
|
||||
.name = "pxa-ssp",
|
||||
.pcm_construct = pxa2xx_soc_pcm_new,
|
||||
.pcm_new = pxa2xx_soc_pcm_new,
|
||||
.open = pxa2xx_soc_pcm_open,
|
||||
.close = pxa2xx_soc_pcm_close,
|
||||
.hw_params = pxa2xx_soc_pcm_hw_params,
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static struct snd_soc_dai_driver pxa_ac97_dai_driver[] = {
|
|||
|
||||
static const struct snd_soc_component_driver pxa_ac97_component = {
|
||||
.name = "pxa-ac97",
|
||||
.pcm_construct = pxa2xx_soc_pcm_new,
|
||||
.pcm_new = pxa2xx_soc_pcm_new,
|
||||
.open = pxa2xx_soc_pcm_open,
|
||||
.close = pxa2xx_soc_pcm_close,
|
||||
.hw_params = pxa2xx_soc_pcm_hw_params,
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ static struct snd_soc_dai_driver pxa_i2s_dai = {
|
|||
|
||||
static const struct snd_soc_component_driver pxa_i2s_component = {
|
||||
.name = "pxa-i2s",
|
||||
.pcm_construct = pxa2xx_soc_pcm_new,
|
||||
.pcm_new = pxa2xx_soc_pcm_new,
|
||||
.open = pxa2xx_soc_pcm_open,
|
||||
.close = pxa2xx_soc_pcm_close,
|
||||
.hw_params = pxa2xx_soc_pcm_hw_params,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#include <sound/dmaengine_pcm.h>
|
||||
|
||||
static const struct snd_soc_component_driver pxa2xx_soc_platform = {
|
||||
.pcm_construct = pxa2xx_soc_pcm_new,
|
||||
.pcm_new = pxa2xx_soc_pcm_new,
|
||||
.open = pxa2xx_soc_pcm_open,
|
||||
.close = pxa2xx_soc_pcm_close,
|
||||
.hw_params = pxa2xx_soc_pcm_hw_params,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user