ASoC: tegra: Expose Headphones pin to userspace
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 12 Feb 2015 08:41:55 +0000 (09:41 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2015 17:26:28 +0000 (17:26 +0000)
So userspace can enable or disable it based on the current policy.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra_max98090.c

index af3fb997b75228927f4a32b53d65eb78938efd22..8df71a436f11998e40dd62f2c0c32594f378cc16 100644 (file)
@@ -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"),
 };