Skip to content

Commit f4ead53

Browse files
xiulipanbroonie
authored andcommitted
ASoC: Intel: common: add ACPI matching tables for EHL
There are no upstream machine drivers just yet so just add dummy table for compilation in nocodec-mode. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190815155749.29304-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1205c81 commit f4ead53

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

‎include/sound/soc-acpi-intel-match.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[];
2626
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];
2727
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_machines[];
2828
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[];
29+
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_ehl_machines[];
2930

3031
/*
3132
* generic table used for HDA codec-based platforms, possibly with

‎sound/soc/intel/common/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-m
88
soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
99
soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
1010
soc-acpi-intel-cnl-match.o soc-acpi-intel-icl-match.o \
11-
soc-acpi-intel-tgl-match.o \
11+
soc-acpi-intel-tgl-match.o soc-acpi-intel-ehl-match.o \
1212
soc-acpi-intel-hda-match.o
1313

1414
obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* soc-apci-intel-ehl-match.c - tables and support for EHL ACPI enumeration.
4+
*
5+
* Copyright (c) 2019, Intel Corporation.
6+
*
7+
*/
8+
9+
#include <sound/soc-acpi.h>
10+
#include <sound/soc-acpi-intel-match.h>
11+
12+
struct snd_soc_acpi_mach snd_soc_acpi_intel_ehl_machines[] = {
13+
{},
14+
};
15+
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_ehl_machines);
16+
17+
MODULE_LICENSE("GPL v2");
18+
MODULE_DESCRIPTION("Intel Common ACPI Match module");

0 commit comments

Comments
 (0)