Skip to content

Commit

Permalink
ASoC: fsl/pcm030 add unique dai_link names
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Eric Millbrandt authored and Mark Brown committed Oct 22, 2012
1 parent 6f0c058 commit c73adc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/fsl/pcm030-audio-fabric.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c73adc7

Please sign in to comment.