treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / intel / common / soc-acpi-intel-glk-match.c
blob60dea358fa041bbc7c66e428718a1d6a1e8141df
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * soc-acpi-intel-glk-match.c - tables and support for GLK ACPI enumeration.
5 * Copyright (c) 2018, Intel Corporation.
7 */
9 #include <sound/soc-acpi.h>
10 #include <sound/soc-acpi-intel-match.h>
12 static struct snd_soc_acpi_codecs glk_codecs = {
13 .num_codecs = 1,
14 .codecs = {"MX98357A"}
17 struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = {
19 .id = "INT343A",
20 .drv_name = "glk_alc298s_i2s",
21 .fw_filename = "intel/dsp_fw_glk.bin",
22 .sof_fw_filename = "sof-glk.ri",
23 .sof_tplg_filename = "sof-glk-alc298.tplg",
26 .id = "DLGS7219",
27 .drv_name = "glk_da7219_max98357a",
28 .fw_filename = "intel/dsp_fw_glk.bin",
29 .machine_quirk = snd_soc_acpi_codec_list,
30 .quirk_data = &glk_codecs,
31 .sof_fw_filename = "sof-glk.ri",
32 .sof_tplg_filename = "sof-glk-da7219.tplg",
35 .id = "10EC5682",
36 .drv_name = "glk_rt5682_max98357a",
37 .fw_filename = "intel/dsp_fw_glk.bin",
38 .machine_quirk = snd_soc_acpi_codec_list,
39 .quirk_data = &glk_codecs,
40 .sof_fw_filename = "sof-glk.ri",
41 .sof_tplg_filename = "sof-glk-rt5682.tplg",
43 {},
45 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_glk_machines);
47 MODULE_LICENSE("GPL v2");
48 MODULE_DESCRIPTION("Intel Common ACPI Match module");