From: Tomeu Vizoso Date: Thu, 12 Feb 2015 08:41:55 +0000 (+0100) Subject: ASoC: tegra: Expose Headphones pin to userspace X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a0cf43e2f0f391dad7882febbf04423e73e3ff99;p=linux-beck.git ASoC: tegra: Expose Headphones pin to userspace So userspace can enable or disable it based on the current policy. Signed-off-by: Tomeu Vizoso Acked-by: Stephen Warren Signed-off-by: Mark Brown --- diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index af3fb997b752..8df71a436f11 100644 --- a/sound/soc/tegra/tegra_max98090.c +++ b/sound/soc/tegra/tegra_max98090.c @@ -136,6 +136,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"), };