ASoC: davinci: davinci-pcm does not need to be a plaform_driver
Same as the commit 518de86
(ASoC: tegra: register 'platform' from DAIs,
get rid of pdev). It makes davinci-pcm not a platform_driver but helper
to register "platform", so that the platform_device for davinci-pcm can
be saved completely.
Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Este commit está contenido en:

cometido por
Mark Brown

padre
c24fdc886f
commit
f08095a408
@@ -159,7 +159,7 @@ static struct snd_soc_dai_link dm6446_evm_dai = {
|
||||
.cpu_dai_name = "davinci-mcbsp",
|
||||
.codec_dai_name = "tlv320aic3x-hifi",
|
||||
.codec_name = "tlv320aic3x-codec.1-001b",
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcbsp",
|
||||
.init = evm_aic3x_init,
|
||||
.ops = &evm_ops,
|
||||
};
|
||||
@@ -170,7 +170,7 @@ static struct snd_soc_dai_link dm355_evm_dai = {
|
||||
.cpu_dai_name = "davinci-mcbsp.1",
|
||||
.codec_dai_name = "tlv320aic3x-hifi",
|
||||
.codec_name = "tlv320aic3x-codec.1-001b",
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcbsp.1",
|
||||
.init = evm_aic3x_init,
|
||||
.ops = &evm_ops,
|
||||
};
|
||||
@@ -184,14 +184,15 @@ static struct snd_soc_dai_link dm365_evm_dai = {
|
||||
.init = evm_aic3x_init,
|
||||
.codec_name = "tlv320aic3x-codec.1-0018",
|
||||
.ops = &evm_ops,
|
||||
.platform_name = "davinci-mcbsp",
|
||||
#elif defined(CONFIG_SND_DM365_VOICE_CODEC)
|
||||
.name = "Voice Codec - CQ93VC",
|
||||
.stream_name = "CQ93",
|
||||
.cpu_dai_name = "davinci-vcif",
|
||||
.codec_dai_name = "cq93vc-hifi",
|
||||
.codec_name = "cq93vc-codec",
|
||||
.platform_name = "avinci-vcif",
|
||||
#endif
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link dm6467_evm_dai[] = {
|
||||
@@ -200,7 +201,7 @@ static struct snd_soc_dai_link dm6467_evm_dai[] = {
|
||||
.stream_name = "AIC3X",
|
||||
.cpu_dai_name= "davinci-mcasp.0",
|
||||
.codec_dai_name = "tlv320aic3x-hifi",
|
||||
.platform_name ="davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcasp.0",
|
||||
.codec_name = "tlv320aic3x-codec.0-001a",
|
||||
.init = evm_aic3x_init,
|
||||
.ops = &evm_ops,
|
||||
@@ -211,7 +212,7 @@ static struct snd_soc_dai_link dm6467_evm_dai[] = {
|
||||
.cpu_dai_name= "davinci-mcasp.1",
|
||||
.codec_dai_name = "dit-hifi",
|
||||
.codec_name = "spdif_dit",
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcasp.1",
|
||||
.ops = &evm_spdif_ops,
|
||||
},
|
||||
};
|
||||
@@ -222,7 +223,7 @@ static struct snd_soc_dai_link da830_evm_dai = {
|
||||
.cpu_dai_name = "davinci-mcasp.1",
|
||||
.codec_dai_name = "tlv320aic3x-hifi",
|
||||
.codec_name = "tlv320aic3x-codec.1-0018",
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcasp.1",
|
||||
.init = evm_aic3x_init,
|
||||
.ops = &evm_ops,
|
||||
};
|
||||
@@ -233,7 +234,7 @@ static struct snd_soc_dai_link da850_evm_dai = {
|
||||
.cpu_dai_name= "davinci-mcasp.0",
|
||||
.codec_dai_name = "tlv320aic3x-hifi",
|
||||
.codec_name = "tlv320aic3x-codec.1-0018",
|
||||
.platform_name = "davinci-pcm-audio",
|
||||
.platform_name = "davinci-mcasp.0",
|
||||
.init = evm_aic3x_init,
|
||||
.ops = &evm_ops,
|
||||
};
|
||||
|
Referencia en una nueva incidencia
Block a user