ASoC: Restore DAI ID specification for WM8994
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Oct 2010 14:56:09 +0000 (15:56 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Oct 2010 09:37:29 +0000 (10:37 +0100)
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>
sound/soc/codecs/wm8994.c

index 218bcd2fc61538c1430cfa58d6e477b5a34f0df2..749d70ff437f9878efea7066e3d2e20c1cb536c7 100644 (file)
@@ -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,