Skip to content

Commit

Permalink
ASoC: tegra: Add control for the Mic Jack pin
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomeu Vizoso authored and Mark Brown committed Mar 2, 2015
1 parent 3a4562f commit dd30014
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/tegra/tegra_max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
};

Expand Down

0 comments on commit dd30014

Please sign in to comment.