Skip to content

Commit 1affc44

Browse files
crojewsk-intelbroonie
authored andcommitted
ASoC: Intel: avs: PCI driver implementation
HD-Audio bus is a PCI device. Add all functions necessary to probe such device along with its removal sequence. Behaviour implemented for all standard operations is similar to existing solutions: sound/pci/hda and sound/soc/intel/skylake. Signed-off-by: Amadeusz Sławiński <[email protected]> Signed-off-by: Cezary Rojewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent beed983 commit 1affc44

File tree

6 files changed

+499
-4
lines changed

6 files changed

+499
-4
lines changed

include/sound/intel-dsp-config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ enum {
1515
SND_INTEL_DSP_DRIVER_LEGACY,
1616
SND_INTEL_DSP_DRIVER_SST,
1717
SND_INTEL_DSP_DRIVER_SOF,
18-
SND_INTEL_DSP_DRIVER_LAST = SND_INTEL_DSP_DRIVER_SOF
18+
SND_INTEL_DSP_DRIVER_AVS,
19+
SND_INTEL_DSP_DRIVER_LAST = SND_INTEL_DSP_DRIVER_AVS
1920
};
2021

2122
#if IS_ENABLED(CONFIG_SND_INTEL_DSP_CONFIG)

sound/soc/intel/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ config SND_SOC_INTEL_AVS
216216
depends on COMMON_CLK
217217
select SND_SOC_ACPI if ACPI
218218
select SND_SOC_TOPOLOGY
219+
select SND_HDA
219220
select SND_HDA_EXT_CORE
220221
select SND_HDA_DSP_LOADER
221222
select SND_INTEL_DSP_CONFIG

sound/soc/intel/avs/avs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ struct avs_dev {
126126
char **lib_names;
127127

128128
struct completion fw_ready;
129+
struct work_struct probe_work;
129130

130131
struct nhlt_acpi_table *nhlt;
131132
struct list_head comp_list;

0 commit comments

Comments
 (0)