aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2015-02-12 09:41:55 +0100
committerMark Brown <[email protected]>2015-03-02 17:26:28 +0000
commita0cf43e2f0f391dad7882febbf04423e73e3ff99 (patch)
tree33e8e350d866bf9d6d0dc2ee5c5faf0a76b514a7
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
ASoC: tegra: Expose Headphones pin to userspace
So userspace can enable or disable it based on the current policy. Signed-off-by: Tomeu Vizoso <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-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"),
};