summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_max98090.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c
index 11bfc4dc5235..f03161d841c2 100644
--- a/sound/soc/tegra/tegra_max98090.c
+++ b/sound/soc/tegra/tegra_max98090.c
@@ -977,8 +977,10 @@ static const struct snd_soc_dapm_route tegra_max98090_audio_map[] = {
{"IN56", NULL, "MICBIAS"},
{"DMICL", NULL, "DMic Pri"},
{"DMICR", NULL, "DMic Pri"},
+#ifdef CONFIG_ARCH_TEGRA_14x_SOC
{"DMIC3", NULL, "DMic Sec"},
{"DMIC4", NULL, "DMic Sec"},
+#endif
};
static const struct snd_kcontrol_new tegra_max98090_controls[] = {
@@ -989,7 +991,9 @@ static const struct snd_kcontrol_new tegra_max98090_controls[] = {
SOC_DAPM_PIN_SWITCH("Int Mic"),
SOC_DAPM_PIN_SWITCH("Ext Mic"),
SOC_DAPM_PIN_SWITCH("DMic Pri"),
+#ifdef CONFIG_ARCH_TEGRA_14x_SOC
SOC_DAPM_PIN_SWITCH("DMic Sec"),
+#endif
};
static int tegra_max98090_init(struct snd_soc_pcm_runtime *rtd)