Commit e74679b3 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

ASoC: db1200: Fix DAI link format for db1300 and db1550

Commit b4508d0f ("ASoC: db1200: Use static DAI format setup") switched
the db1200 driver over to using static DAI format setup instead of a
callback function. But the commit only added the dai_fmt field to one of
the three DAI links in the driver. This breaks audio on db1300 and db1550.

Add the two missing dai_fmt settings to fix the issue.

Fixes: b4508d0f ("ASoC: db1200: Use static DAI format setup")
Reported-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
Tested-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
parent 6ff33f39
...@@ -129,6 +129,8 @@ static struct snd_soc_dai_link db1300_i2s_dai = { ...@@ -129,6 +129,8 @@ static struct snd_soc_dai_link db1300_i2s_dai = {
.cpu_dai_name = "au1xpsc_i2s.2", .cpu_dai_name = "au1xpsc_i2s.2",
.platform_name = "au1xpsc-pcm.2", .platform_name = "au1xpsc-pcm.2",
.codec_name = "wm8731.0-001b", .codec_name = "wm8731.0-001b",
.dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBM_CFM,
.ops = &db1200_i2s_wm8731_ops, .ops = &db1200_i2s_wm8731_ops,
}; };
...@@ -146,6 +148,8 @@ static struct snd_soc_dai_link db1550_i2s_dai = { ...@@ -146,6 +148,8 @@ static struct snd_soc_dai_link db1550_i2s_dai = {
.cpu_dai_name = "au1xpsc_i2s.3", .cpu_dai_name = "au1xpsc_i2s.3",
.platform_name = "au1xpsc-pcm.3", .platform_name = "au1xpsc-pcm.3",
.codec_name = "wm8731.0-001b", .codec_name = "wm8731.0-001b",
.dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
SND_SOC_DAIFMT_CBM_CFM,
.ops = &db1200_i2s_wm8731_ops, .ops = &db1200_i2s_wm8731_ops,
}; };
......
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