]> Git Repo - linux.git/commitdiff
ASoC: tegra: Add control for the Mic Jack pin
authorTomeu Vizoso <[email protected]>
Thu, 12 Feb 2015 08:41:57 +0000 (09:41 +0100)
committerMark Brown <[email protected]>
Mon, 2 Mar 2015 17:26:28 +0000 (17:26 +0000)
So userspace can enable and disable the external microphone.

Signed-off-by: Tomeu Vizoso <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/tegra/tegra_max98090.c

index 29ea87cd852efc93382bbc97bec215ca6425f7ca..1f20c2c40a5af0e1dbe35bb1fff049b44547616a 100644 (file)
@@ -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"),
 };
 
This page took 0.059424 seconds and 4 git commands to generate.