aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_asoc_machine.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-12-12 02:11:46 +0300
committerMark Brown <broonie@kernel.org>2021-12-13 19:23:33 +0000
commitdb635ba4fadf3ba676d07537f3b3f58166aa7b0e (patch)
tree2b5518fa4da68d07a6361cfadc1521adde4fd80e /sound/soc/tegra/tegra_asoc_machine.h
parentASoC: tegra: Add DAPM switches for headphones and mic jack (diff)
downloadlinux-dev-db635ba4fadf3ba676d07537f3b3f58166aa7b0e.tar.xz
linux-dev-db635ba4fadf3ba676d07537f3b3f58166aa7b0e.zip
ASoC: tegra: Restore headphones jack name on Nyan Big
UCM of Acer Chromebook (Nyan) uses a different name for the headphones jack. The name was changed during unification of the machine drivers and UCM fails now to load because of that. Restore the old jack name. 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> Link: https://lore.kernel.org/r/20211211231146.6137-2-digetx@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--sound/soc/tegra/tegra_asoc_machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_asoc_machine.h b/sound/soc/tegra/tegra_asoc_machine.h
index d6a8d1320551..6f795d7dff7c 100644
--- a/sound/soc/tegra/tegra_asoc_machine.h
+++ b/sound/soc/tegra/tegra_asoc_machine.h
@@ -14,6 +14,7 @@ struct snd_soc_pcm_runtime;
struct tegra_asoc_data {
unsigned int (*mclk_rate)(unsigned int srate);
const char *codec_dev_name;
+ const char *hp_jack_name;
struct snd_soc_card *card;
unsigned int mclk_id;
bool hp_jack_gpio_active_low;