summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/common/soc-acpi-intel-glk-match.c
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2021-10-28 22:09:09 +0800
committerMark Brown <broonie@kernel.org>2021-10-29 12:36:11 +0100
commit88b4d77d6035dcf1182c4bf05c743e30363f3078 (patch)
tree09b18c0029a47441059aecf20b0de9ece3d67173 /sound/soc/intel/common/soc-acpi-intel-glk-match.c
parent2554877e4b08d258c2def27e3a0fd49d60a9a2c0 (diff)
downloadlinux-stable-88b4d77d6035dcf1182c4bf05c743e30363f3078.tar.gz
linux-stable-88b4d77d6035dcf1182c4bf05c743e30363f3078.tar.bz2
linux-stable-88b4d77d6035dcf1182c4bf05c743e30363f3078.zip
ASoC: Intel: glk_rt5682_max98357a: support ALC5682I-VS codec
Detect the codec variant in probe function and update DAI link accordingly. Also add an new entry in enumeration table for machine driver enumeration. Signed-off-by: Brent Lu <brent.lu@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20211028140909.496022-1-brent.lu@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-glk-match.c')
-rw-r--r--sound/soc/intel/common/soc-acpi-intel-glk-match.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/common/soc-acpi-intel-glk-match.c b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
index 32fff9389eb3..3900e3dbae30 100644
--- a/sound/soc/intel/common/soc-acpi-intel-glk-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-glk-match.c
@@ -41,6 +41,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
.sof_tplg_filename = "sof-glk-rt5682.tplg",
},
{
+ .id = "RTL5682",
+ .drv_name = "glk_rt5682_max98357a",
+ .machine_quirk = snd_soc_acpi_codec_list,
+ .quirk_data = &glk_codecs,
+ .sof_fw_filename = "sof-glk.ri",
+ .sof_tplg_filename = "sof-glk-rt5682.tplg",
+ },
+ {
.id = "10134242",
.drv_name = "glk_cs4242_mx98357a",
.fw_filename = "intel/dsp_fw_glk.bin",