summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_soc_wm8903.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_soc_wm8903.c')
-rw-r--r--sound/soc/tegra/tegra_soc_wm8903.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_soc_wm8903.c b/sound/soc/tegra/tegra_soc_wm8903.c
index 1c3ed544ddd5..d97f825c51b1 100644
--- a/sound/soc/tegra/tegra_soc_wm8903.c
+++ b/sound/soc/tegra/tegra_soc_wm8903.c
@@ -555,7 +555,7 @@ static struct snd_soc_dai_link tegra_soc_dai[] = {
.name = "Tegra-generic",
.stream_name = "Tegra Generic Voice",
.cpu_dai = &tegra_i2s_dai[1],
- .codec_dai = &tegra_generic_codec_dai[0],
+ .codec_dai = &tegra_generic_codec_dai[TEGRA_BT_CODEC_ID],
.init = tegra_codec_init,
.ops = &tegra_voice_ops,
},
@@ -563,7 +563,7 @@ static struct snd_soc_dai_link tegra_soc_dai[] = {
.name = "Tegra-spdif",
.stream_name = "Tegra Spdif",
.cpu_dai = &tegra_spdif_dai,
- .codec_dai = &tegra_generic_codec_dai[1],
+ .codec_dai = &tegra_generic_codec_dai[TEGRA_SPDIF_CODEC_ID],
.init = tegra_codec_init,
.ops = &tegra_spdif_ops,
},