Skip to content

Commit 65a3388

Browse files
naveen-manoharbroonie
authored andcommitted
ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry
This patch adds da7219_max98357a machine driver entry into machine table Signed-off-by: Naveen Manohar <naveen.m@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent cbaa7f0 commit 65a3388

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/soc/intel/common/soc-acpi-intel-glk-match.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,24 @@
99
#include <sound/soc-acpi.h>
1010
#include <sound/soc-acpi-intel-match.h>
1111

12+
static struct snd_soc_acpi_codecs glk_codecs = {
13+
.num_codecs = 1,
14+
.codecs = {"MX98357A"}
15+
};
16+
1217
struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
1318
{
1419
.id = "INT343A",
1520
.drv_name = "glk_alc298s_i2s",
1621
.fw_filename = "intel/dsp_fw_glk.bin",
1722
},
23+
{
24+
.id = "DLGS7219",
25+
.drv_name = "glk_da7219_max98357a",
26+
.fw_filename = "intel/dsp_fw_glk.bin",
27+
.machine_quirk = snd_soc_acpi_codec_list,
28+
.quirk_data = &glk_codecs,
29+
},
1830
{},
1931
};
2032
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);

0 commit comments

Comments
 (0)