diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2015-02-12 03:41:57 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-02 12:26:28 -0500 |
commit | dd3001490834e10615d9eb229b3e9bbcc0070541 (patch) | |
tree | 5427ac682970a73671f76ffec15439192d4edfe0 /sound | |
parent | 3a4562f756617b4b210fc487bfe23853a450d3c1 (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.c | 1 |
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[] = { | |||
139 | static const struct snd_kcontrol_new tegra_max98090_controls[] = { | 139 | static 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 | ||