|
@@ -9,12 +9,24 @@
|
|
|
#include <sound/soc-acpi.h>
|
|
|
#include <sound/soc-acpi-intel-match.h>
|
|
|
|
|
|
+static struct snd_soc_acpi_codecs glk_codecs = {
|
|
|
+ .num_codecs = 1,
|
|
|
+ .codecs = {"MX98357A"}
|
|
|
+};
|
|
|
+
|
|
|
struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
|
|
|
{
|
|
|
.id = "INT343A",
|
|
|
.drv_name = "glk_alc298s_i2s",
|
|
|
.fw_filename = "intel/dsp_fw_glk.bin",
|
|
|
},
|
|
|
+ {
|
|
|
+ .id = "DLGS7219",
|
|
|
+ .drv_name = "glk_da7219_max98357a",
|
|
|
+ .fw_filename = "intel/dsp_fw_glk.bin",
|
|
|
+ .machine_quirk = snd_soc_acpi_codec_list,
|
|
|
+ .quirk_data = &glk_codecs,
|
|
|
+ },
|
|
|
{},
|
|
|
};
|
|
|
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
|