projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a4562f
)
ASoC: tegra: Add control for the Mic Jack pin
author
Tomeu Vizoso
<tomeu.vizoso@collabora.com>
Thu, 12 Feb 2015 08:41:57 +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 and disable the external microphone.
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 29ea87cd852efc93382bbc97bec215ca6425f7ca..1f20c2c40a5af0e1dbe35bb1fff049b44547616a 100644
(file)
--- a/
sound/soc/tegra/tegra_max98090.c
+++ b/
sound/soc/tegra/tegra_max98090.c
@@
-139,6
+139,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"),
+ SOC_DAPM_PIN_SWITCH("Mic Jack"),
SOC_DAPM_PIN_SWITCH("Int Mic"),
};