summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_generic_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_generic_codec.c')
-rw-r--r--sound/soc/tegra/tegra_generic_codec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_generic_codec.c b/sound/soc/tegra/tegra_generic_codec.c
index bccfc51909e9..758f046516fd 100644
--- a/sound/soc/tegra/tegra_generic_codec.c
+++ b/sound/soc/tegra/tegra_generic_codec.c
@@ -99,15 +99,12 @@ static struct snd_soc_dai_ops tegra_generic_codec_stub_ops = {
struct snd_soc_dai tegra_generic_codec_dai[] = {
TEGRA_CREATE_GENERIC_CODEC_DAI("tegra_generic_spdif_codec",
0, 2, 2, TEGRA_SAMPLE_RATES),
-#if defined(CONFIG_ARCH_TEGRA_2x_SOC)
- TEGRA_CREATE_GENERIC_CODEC_DAI("tegra_generic_voice_codec",
- 1, 1, 1, TEGRA_VOICE_SAMPLE_RATES),
-#else
TEGRA_CREATE_GENERIC_CODEC_DAI("tegra_generic_BB_codec",
1, 1, 1, TEGRA_VOICE_SAMPLE_RATES),
TEGRA_CREATE_GENERIC_CODEC_DAI("tegra_generic_BT_codec",
2, 1, 1, TEGRA_VOICE_SAMPLE_RATES),
-#endif
+ TEGRA_CREATE_GENERIC_CODEC_DAI("tegra_generic_tdm_codec",
+ 3, 1, 16, TEGRA_VOICE_SAMPLE_RATES),
};
EXPORT_SYMBOL_GPL(tegra_generic_codec_dai);