summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2015-02-12 09:41:55 +0100
committerMark Brown <broonie@kernel.org>2015-03-02 18:26:28 +0100
commita0cf43e2f0f391dad7882febbf04423e73e3ff99 (patch)
tree33e8e350d866bf9d6d0dc2ee5c5faf0a76b514a7 /sound/soc/tegra
parentLinux 4.0-rc1 (diff)
downloadlinux-a0cf43e2f0f391dad7882febbf04423e73e3ff99.tar.xz
linux-a0cf43e2f0f391dad7882febbf04423e73e3ff99.zip
ASoC: tegra: Expose Headphones pin to userspace
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>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r--sound/soc/tegra/tegra_max98090.c1
1 files changed, 1 insertions, 0 deletions
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"),
};