Skip to content

Commit

Permalink
ASoC: Restore DAI ID specification for WM8994
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Oct 13, 2010
1 parent 821f420 commit 8c7f78b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 8c7f78b

Please sign in to comment.