aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-12 10:56:09 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-10-13 05:37:29 -0400
commit8c7f78b3c3f3132a36b4747b2e1283a7ca015edb (patch)
treeea5434cfb26db056080eb5df1375dfc63cfe2944 /sound/soc/codecs/wm8994.c
parent821f4206c4f568bf43e30f1ae5619868fa76413a (diff)
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/soc/codecs/wm8994.c')
-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 = {
3546static struct snd_soc_dai_driver wm8994_dai[] = { 3546static struct snd_soc_dai_driver wm8994_dai[] = {
3547 { 3547 {
3548 .name = "wm8994-aif1", 3548 .name = "wm8994-aif1",
3549 .id = 1,
3549 .playback = { 3550 .playback = {
3550 .stream_name = "AIF1 Playback", 3551 .stream_name = "AIF1 Playback",
3551 .channels_min = 2, 3552 .channels_min = 2,
@@ -3564,6 +3565,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
3564 }, 3565 },
3565 { 3566 {
3566 .name = "wm8994-aif2", 3567 .name = "wm8994-aif2",
3568 .id = 2,
3567 .playback = { 3569 .playback = {
3568 .stream_name = "AIF2 Playback", 3570 .stream_name = "AIF2 Playback",
3569 .channels_min = 2, 3571 .channels_min = 2,
@@ -3582,6 +3584,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
3582 }, 3584 },
3583 { 3585 {
3584 .name = "wm8994-aif3", 3586 .name = "wm8994-aif3",
3587 .id = 3,
3585 .playback = { 3588 .playback = {
3586 .stream_name = "AIF3 Playback", 3589 .stream_name = "AIF3 Playback",
3587 .channels_min = 2, 3590 .channels_min = 2,