aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2015-02-12 03:41:57 -0500
committerMark Brown <broonie@kernel.org>2015-03-02 12:26:28 -0500
commitdd3001490834e10615d9eb229b3e9bbcc0070541 (patch)
tree5427ac682970a73671f76ffec15439192d4edfe0 /sound
parent3a4562f756617b4b210fc487bfe23853a450d3c1 (diff)
ASoC: tegra: Add control for the Mic Jack pin
So userspace can enable and disable the external microphone. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_max98090.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c
index 29ea87cd852e..1f20c2c40a5a 100644
--- a/sound/soc/tegra/tegra_max98090.c
+++ b/sound/soc/tegra/tegra_max98090.c
@@ -139,6 +139,7 @@ static const struct snd_soc_dapm_widget tegra_max98090_dapm_widgets[] = {
139static const struct snd_kcontrol_new tegra_max98090_controls[] = { 139static const struct snd_kcontrol_new tegra_max98090_controls[] = {
140 SOC_DAPM_PIN_SWITCH("Headphones"), 140 SOC_DAPM_PIN_SWITCH("Headphones"),
141 SOC_DAPM_PIN_SWITCH("Speakers"), 141 SOC_DAPM_PIN_SWITCH("Speakers"),
142 SOC_DAPM_PIN_SWITCH("Mic Jack"),
142 SOC_DAPM_PIN_SWITCH("Int Mic"), 143 SOC_DAPM_PIN_SWITCH("Int Mic"),
143}; 144};
144 145