summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_wm8903.c
diff options
context:
space:
mode:
authorSumit Bhattacharya <sumitb@nvidia.com>2011-09-28 20:31:23 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:16 -0800
commit1bdb0af1054890a367f73899c163944c1a40aaba (patch)
treeb89d09c067e11d38613de76f1aef67c9be7a32bb /sound/soc/tegra/tegra_wm8903.c
parent424330657d9a2d998f5e7c200468122586e349e0 (diff)
ASoC: Tegra: Enable SPDIF DAI for Tegra30
Bug 872652 Change-Id: Ia35ba728859bcba1bff1ce73c622203d027bc8f9 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/54989 Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Gerrit_Virtual_Submit Rebase-Id: Rd23d694c056cefb76669c510b1367128255f3835
Diffstat (limited to 'sound/soc/tegra/tegra_wm8903.c')
-rw-r--r--sound/soc/tegra/tegra_wm8903.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index 1fbfaa88e5b4..4bea080e6f2a 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -356,7 +356,6 @@ static struct snd_soc_dai_link tegra_wm8903_dai[] = {
.init = tegra_wm8903_init,
.ops = &tegra_wm8903_ops,
},
-#if defined(CONFIG_ARCH_TEGRA_2x_SOC)
{
.name = "SPDIF",
.stream_name = "SPDIF PCM",
@@ -366,7 +365,6 @@ static struct snd_soc_dai_link tegra_wm8903_dai[] = {
.codec_dai_name = "dit-hifi",
.ops = &tegra_spdif_ops,
}
-#endif
};
static struct snd_soc_card snd_soc_tegra_wm8903 = {
@@ -408,6 +406,8 @@ static __devinit int tegra_wm8903_driver_probe(struct platform_device *pdev)
if (machine_is_cardhu()) {
tegra_wm8903_dai[0].codec_name = "wm8903.4-001a",
tegra_wm8903_dai[0].cpu_dai_name = "tegra30-i2s.1";
+
+ tegra_wm8903_dai[1].cpu_dai_name = "tegra30-spdif";
}
card->dev = &pdev->dev;