alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH repost] ASoC: fsl/pcm030 add unique dai_link names
@ 2012-10-10 14:10 Eric Millbrandt
  2012-10-22 15:18 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Millbrandt @ 2012-10-10 14:10 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, Eric Millbrandt

Assign each dai_link a unique name to avoid this run-time error.

[   18.978043] pcm030-audio-fabric sound.2:  wm9712-hifi <-> mpc5200-psc-ac97.0 mapping ok
[   19.003179] sysfs: cannot create duplicate filename '/devices/sound.2/AC97'

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
---
 sound/soc/fsl/pcm030-audio-fabric.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/fsl/pcm030-audio-fabric.c b/sound/soc/fsl/pcm030-audio-fabric.c
index 4b63ec8..4d26192 100644
--- a/sound/soc/fsl/pcm030-audio-fabric.c
+++ b/sound/soc/fsl/pcm030-audio-fabric.c
@@ -29,14 +29,14 @@ struct pcm030_audio_data {
 
 static struct snd_soc_dai_link pcm030_fabric_dai[] = {
 {
-	.name = "AC97",
+	.name = "AC97.0",
 	.stream_name = "AC97 Analog",
 	.codec_dai_name = "wm9712-hifi",
 	.cpu_dai_name = "mpc5200-psc-ac97.0",
 	.codec_name = "wm9712-codec",
 },
 {
-	.name = "AC97",
+	.name = "AC97.1",
 	.stream_name = "AC97 IEC958",
 	.codec_dai_name = "wm9712-aux",
 	.cpu_dai_name = "mpc5200-psc-ac97.1",
-- 
1.7.8

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH repost] ASoC: fsl/pcm030 add unique dai_link names
  2012-10-10 14:10 [PATCH repost] ASoC: fsl/pcm030 add unique dai_link names Eric Millbrandt
@ 2012-10-22 15:18 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-10-22 15:18 UTC (permalink / raw)
  To: Eric Millbrandt; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 200 bytes --]

On Wed, Oct 10, 2012 at 10:10:08AM -0400, Eric Millbrandt wrote:
> Assign each dai_link a unique name to avoid this run-time error.

Applied, thanks.  Though can't we think of more descriptive names?

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-22 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-10 14:10 [PATCH repost] ASoC: fsl/pcm030 add unique dai_link names Eric Millbrandt
2012-10-22 15:18 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).