summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-12 15:56:09 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-13 10:37:29 +0100
commit8c7f78b3c3f3132a36b4747b2e1283a7ca015edb (patch)
treeea5434cfb26db056080eb5df1375dfc63cfe2944 /sound
parent821f4206c4f568bf43e30f1ae5619868fa76413a (diff)
downloadlinux-8c7f78b3c3f3132a36b4747b2e1283a7ca015edb.tar.bz2
ASoC: Restore DAI ID specification for WM8994
WM8994 relies on the DAIs having IDs that match the AIF numbers. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8994.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 218bcd2fc615..749d70ff437f 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3546,6 +3546,7 @@ static struct snd_soc_dai_ops wm8994_aif3_dai_ops = {
static struct snd_soc_dai_driver wm8994_dai[] = {
{
.name = "wm8994-aif1",
+ .id = 1,
.playback = {
.stream_name = "AIF1 Playback",
.channels_min = 2,
@@ -3564,6 +3565,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
},
{
.name = "wm8994-aif2",
+ .id = 2,
.playback = {
.stream_name = "AIF2 Playback",
.channels_min = 2,
@@ -3582,6 +3584,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
},
{
.name = "wm8994-aif3",
+ .id = 3,
.playback = {
.stream_name = "AIF3 Playback",
.channels_min = 2,