* [PATCH] asoc: davinci: da830/omap-l138: correct cpu_dai_name
@ 2011-02-02 14:54 Vaibhav Bedia
2011-02-02 15:51 ` Sergei Shtylyov
0 siblings, 1 reply; 3+ messages in thread
From: Vaibhav Bedia @ 2011-02-02 14:54 UTC (permalink / raw)
To: alsa-devel; +Cc: davinci-linux-open-source, broonie, stable, Vaibhav Bedia, lrg
McASP1 is used on the DA830/OMAP-L137 platform for the codec.
This is different from the DA850/OMAP-L138 platform which uses McASP0.
This is fixed by adding a new snd_soc_dai_link struct.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
---
sound/soc/davinci/davinci-evm.c | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index b36f0b3..fe79842 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -218,7 +218,19 @@ static struct snd_soc_dai_link dm6467_evm_dai[] = {
.ops = &evm_spdif_ops,
},
};
-static struct snd_soc_dai_link da8xx_evm_dai = {
+
+static struct snd_soc_dai_link da830_evm_dai = {
+ .name = "TLV320AIC3X",
+ .stream_name = "AIC3X",
+ .cpu_dai_name = "davinci-mcasp.1",
+ .codec_dai_name = "tlv320aic3x-hifi",
+ .codec_name = "tlv320aic3x-codec.1-0018",
+ .platform_name = "davinci-pcm-audio",
+ .init = evm_aic3x_init,
+ .ops = &evm_ops,
+};
+
+static struct snd_soc_dai_link da850_evm_dai = {
.name = "TLV320AIC3X",
.stream_name = "AIC3X",
.cpu_dai_name= "davinci-mcasp.0",
@@ -259,13 +271,13 @@ static struct snd_soc_card dm6467_snd_soc_card_evm = {
static struct snd_soc_card da830_snd_soc_card = {
.name = "DA830/OMAP-L137 EVM",
- .dai_link = &da8xx_evm_dai,
+ .dai_link = &da830_evm_dai,
.num_links = 1,
};
static struct snd_soc_card da850_snd_soc_card = {
.name = "DA850/OMAP-L138 EVM",
- .dai_link = &da8xx_evm_dai,
+ .dai_link = &da850_evm_dai,
.num_links = 1,
};
--
1.6.2.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] asoc: davinci: da830/omap-l138: correct cpu_dai_name
2011-02-02 14:54 [PATCH] asoc: davinci: da830/omap-l138: correct cpu_dai_name Vaibhav Bedia
@ 2011-02-02 15:51 ` Sergei Shtylyov
2011-02-02 15:55 ` Bedia, Vaibhav
0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2011-02-02 15:51 UTC (permalink / raw)
To: Vaibhav Bedia; +Cc: alsa-devel, broonie, lrg, davinci-linux-open-source, stable
Hello.
Vaibhav Bedia wrote:
> McASP1 is used on the DA830/OMAP-L137 platform for the codec.
> This is different from the DA850/OMAP-L138 platform which uses McASP0.
I guess that in the subject you meant to type "da830/omap-l137"?
> This is fixed by adding a new snd_soc_dai_link struct.
> Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
WBR, Sergei
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] asoc: davinci: da830/omap-l138: correct cpu_dai_name
2011-02-02 15:51 ` Sergei Shtylyov
@ 2011-02-02 15:55 ` Bedia, Vaibhav
0 siblings, 0 replies; 3+ messages in thread
From: Bedia, Vaibhav @ 2011-02-02 15:55 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com,
lrg@slimlogic.co.uk,
davinci-linux-open-source@linux.davincidsp.com, stable@kernel.org
ݠOn Wednesday, February 02, 2011 9:22 PM, Sergei Shtylyov wrote:
> Hello.
>
> Vaibhav Bedia wrote:
>
>> McASP1 is used on the DA830/OMAP-L137 platform for the codec.
>> This is different from the DA850/OMAP-L138 platform which
>> uses McASP0.
>
> I guess that in the subject you meant to type
> "da830/omap-l137"?
Oops. Sorry. Will resend with correct subject.
Regards,
Vaibhav
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-02 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 14:54 [PATCH] asoc: davinci: da830/omap-l138: correct cpu_dai_name Vaibhav Bedia
2011-02-02 15:51 ` Sergei Shtylyov
2011-02-02 15:55 ` Bedia, Vaibhav
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.