a6264056b3
We've been using a default firmware name for each PCI/ACPI/OF platform for a while. The machine-specific sof_fw_filename is in practice not different from the default, and newer devices don't set this field, so let's remove the redundant definitions. When OEMs modify the base firmware, they can keep the same firmware name but store the file in a separate directory. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220301194903.60859-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
39 lines
934 B
C
39 lines
934 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
// Copyright (c) 2018, Intel Corporation.
|
|
|
|
/*
|
|
* soc-acpi-intel-hda-match.c - tables and support for HDA+ACPI enumeration.
|
|
*
|
|
*/
|
|
|
|
#include <sound/soc-acpi.h>
|
|
#include <sound/soc-acpi-intel-match.h>
|
|
#include "../skylake/skl.h"
|
|
|
|
static struct skl_machine_pdata hda_pdata = {
|
|
.use_tplg_pcm = true,
|
|
};
|
|
|
|
struct snd_soc_acpi_mach snd_soc_acpi_intel_hda_machines[] = {
|
|
{
|
|
/* .id is not used in this file */
|
|
.drv_name = "skl_hda_dsp_generic",
|
|
|
|
/* .fw_filename is dynamically set in skylake driver */
|
|
|
|
.sof_tplg_filename = "sof-hda-generic.tplg",
|
|
|
|
/*
|
|
* .machine_quirk and .quirk_data are not used here but
|
|
* can be used if we need a more complicated machine driver
|
|
* combining HDA+other device (e.g. DMIC).
|
|
*/
|
|
.pdata = &hda_pdata,
|
|
},
|
|
{},
|
|
};
|
|
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_hda_machines);
|
|
|
|
MODULE_LICENSE("GPL v2");
|
|
MODULE_DESCRIPTION("Intel Common ACPI Match module");
|