Commit 8c7f78b3 authored by Mark Brown's avatar Mark Brown

ASoC: Restore DAI ID specification for WM8994

WM8994 relies on the DAIs having IDs that match the AIF numbers.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 821f4206
...@@ -3546,6 +3546,7 @@ static struct snd_soc_dai_ops wm8994_aif3_dai_ops = { ...@@ -3546,6 +3546,7 @@ static struct snd_soc_dai_ops wm8994_aif3_dai_ops = {
static struct snd_soc_dai_driver wm8994_dai[] = { static struct snd_soc_dai_driver wm8994_dai[] = {
{ {
.name = "wm8994-aif1", .name = "wm8994-aif1",
.id = 1,
.playback = { .playback = {
.stream_name = "AIF1 Playback", .stream_name = "AIF1 Playback",
.channels_min = 2, .channels_min = 2,
...@@ -3564,6 +3565,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = { ...@@ -3564,6 +3565,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
}, },
{ {
.name = "wm8994-aif2", .name = "wm8994-aif2",
.id = 2,
.playback = { .playback = {
.stream_name = "AIF2 Playback", .stream_name = "AIF2 Playback",
.channels_min = 2, .channels_min = 2,
...@@ -3582,6 +3584,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = { ...@@ -3582,6 +3584,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
}, },
{ {
.name = "wm8994-aif3", .name = "wm8994-aif3",
.id = 3,
.playback = { .playback = {
.stream_name = "AIF3 Playback", .stream_name = "AIF3 Playback",
.channels_min = 2, .channels_min = 2,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment