treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / intel / common / soc-acpi-intel-cnl-match.c
blob828980d5630d46434fd2b1f45e3d459fb88a06a3
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * soc-acpi-intel-cnl-match.c - tables and support for CNL ACPI enumeration.
5 * Copyright (c) 2018, Intel Corporation.
7 */
9 #include <sound/soc-acpi.h>
10 #include <sound/soc-acpi-intel-match.h>
11 #include "../skylake/skl.h"
13 static struct skl_machine_pdata cnl_pdata = {
14 .use_tplg_pcm = true,
17 struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = {
19 .id = "INT34C2",
20 .drv_name = "cnl_rt274",
21 .fw_filename = "intel/dsp_fw_cnl.bin",
22 .pdata = &cnl_pdata,
23 .sof_fw_filename = "sof-cnl.ri",
24 .sof_tplg_filename = "sof-cnl-rt274.tplg",
26 {},
28 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_cnl_machines);
30 struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_sdw_machines[] = {
31 {},
33 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_cnl_sdw_machines);
35 MODULE_LICENSE("GPL v2");
36 MODULE_DESCRIPTION("Intel Common ACPI Match module");