projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
ASoC: tegra: Expose Headphones pin to userspace
author
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Thu, 12 Feb 2015 08:41:55 +0000
(09:41 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/tegra/tegra_max98090.c
b/sound/soc/tegra/tegra_max98090.c
index af3fb997b75228927f4a32b53d65eb78938efd22..8df71a436f11998e40dd62f2c0c32594f378cc16 100644
(file)
--- 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"),
};