All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] ASoC: tegra: Add DAPM switches for headphones and mic jack
@ 2021-12-11 23:11 Dmitry Osipenko
  2021-12-11 23:11 ` [PATCH v1 2/2] ASoC: tegra: Restore headphones jack name on Nyan Big Dmitry Osipenko
  2021-12-13 22:42   ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Osipenko @ 2021-12-11 23:11 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Mark Brown, Takashi Iwai,
	Jaroslav Kysela, Liam Girdwood, Thomas Graichen
  Cc: linux-tegra, alsa-devel, linux-kernel

UCM of Acer Chromebook (Nyan) uses DAPM switches of headphones and mic
jack. These switches were lost by accident during unification of the
machine drivers, restore them.

Cc: <stable@vger.kernel.org>
Fixes: cc8f70f ("ASoC: tegra: Unify ASoC machine drivers")
Reported-by: Thomas Graichen <thomas.graichen@gmail.com> # T124 Nyan Big
Tested-by: Thomas Graichen <thomas.graichen@gmail.com> # T124 Nyan Big
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 sound/soc/tegra/tegra_asoc_machine.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/tegra/tegra_asoc_machine.c b/sound/soc/tegra/tegra_asoc_machine.c
index b95438c3dbf7..f3e86bd714b4 100644
--- a/sound/soc/tegra/tegra_asoc_machine.c
+++ b/sound/soc/tegra/tegra_asoc_machine.c
@@ -116,6 +116,8 @@ static const struct snd_kcontrol_new tegra_machine_controls[] = {
 	SOC_DAPM_PIN_SWITCH("Headset Mic"),
 	SOC_DAPM_PIN_SWITCH("Internal Mic 1"),
 	SOC_DAPM_PIN_SWITCH("Internal Mic 2"),
+	SOC_DAPM_PIN_SWITCH("Headphones"),
+	SOC_DAPM_PIN_SWITCH("Mic Jack"),
 };
 
 int tegra_asoc_machine_init(struct snd_soc_pcm_runtime *rtd)
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-13 22:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-11 23:11 [PATCH v1 1/2] ASoC: tegra: Add DAPM switches for headphones and mic jack Dmitry Osipenko
2021-12-11 23:11 ` [PATCH v1 2/2] ASoC: tegra: Restore headphones jack name on Nyan Big Dmitry Osipenko
2021-12-13 22:42 ` [PATCH v1 1/2] ASoC: tegra: Add DAPM switches for headphones and mic jack Mark Brown
2021-12-13 22:42   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.