diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2015-02-12 09:41:57 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-02 17:26:28 +0000 |
commit | dd3001490834e10615d9eb229b3e9bbcc0070541 (patch) | |
tree | 5427ac682970a73671f76ffec15439192d4edfe0 /sound/soc/tegra | |
parent | 3a4562f756617b4b210fc487bfe23853a450d3c1 (diff) | |
download | linux-dd3001490834e10615d9eb229b3e9bbcc0070541.tar.bz2 |
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/soc/tegra')
-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[] = { static const struct snd_kcontrol_new tegra_max98090_controls[] = { SOC_DAPM_PIN_SWITCH("Headphones"), SOC_DAPM_PIN_SWITCH("Speakers"), + SOC_DAPM_PIN_SWITCH("Mic Jack"), SOC_DAPM_PIN_SWITCH("Int Mic"), }; |