diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2015-02-12 03:41:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-02 12:26:28 -0500 |
commit | a0cf43e2f0f391dad7882febbf04423e73e3ff99 (patch) | |
tree | 33e8e350d866bf9d6d0dc2ee5c5faf0a76b514a7 /sound/soc/tegra | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (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 <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.c | 1 |
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[] = { | |||
136 | }; | 136 | }; |
137 | 137 | ||
138 | static const struct snd_kcontrol_new tegra_max98090_controls[] = { | 138 | static const struct snd_kcontrol_new tegra_max98090_controls[] = { |
139 | SOC_DAPM_PIN_SWITCH("Headphones"), | ||
139 | SOC_DAPM_PIN_SWITCH("Speakers"), | 140 | SOC_DAPM_PIN_SWITCH("Speakers"), |
140 | }; | 141 | }; |
141 | 142 | ||