Skip to content

Commit 592a63b

Browse files
committed
ASoC: tegra: Add DAPM switches for headphones and mic jack
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 Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
1 parent 9cc23a8 commit 592a63b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/soc/tegra/tegra_asoc_machine.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ static const struct snd_kcontrol_new tegra_machine_controls[] = {
122122
SOC_DAPM_PIN_SWITCH("Headset Mic"),
123123
SOC_DAPM_PIN_SWITCH("Internal Mic 1"),
124124
SOC_DAPM_PIN_SWITCH("Internal Mic 2"),
125+
SOC_DAPM_PIN_SWITCH("Headphones"),
126+
SOC_DAPM_PIN_SWITCH("Mic Jack"),
125127
};
126128

127129
int tegra_asoc_machine_init(struct snd_soc_pcm_runtime *rtd)

0 commit comments

Comments
 (0)