[alsa-devel] [PATCH v3 06/10] ASoC: tegra: Add a control for the headphone switch
Tomeu Vizoso
tomeu.vizoso at collabora.com
Wed Jan 28 11:51:04 CET 2015
To be used by userspace when the headphones jack is plugged in.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
sound/soc/tegra/tegra_max98090.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c
index af3fb99..8df71a4 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"),
};
--
1.9.3
More information about the Alsa-devel
mailing list