[alsa-devel] [PATCH] ASoC: SOF: Intel: Fix build error
YueHaibing
yuehaibing at huawei.com
Wed Nov 27 15:16:49 CET 2019
If SND_INTEL_DSP_CONFIG is m and SND_SOC_SOF_PCI is y,
building fails:
sound/soc/sof/sof-pci-dev.o: In function `sof_pci_probe':
sof-pci-dev.c:(.text+0xb4): undefined reference to `snd_intel_dsp_driver_probe'
Select SND_INTEL_DSP_CONFIG to fix this.
Reported-by: Hulk Robot <hulkci at huawei.com>
Fixes: 82d9d54a6c0e ("ALSA: hda: add Intel DSP configuration / probe code")
Signed-off-by: YueHaibing <yuehaibing at huawei.com>
---
sound/soc/sof/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/sof/Kconfig b/sound/soc/sof/Kconfig
index 71a0fc0..e0b04b5 100644
--- a/sound/soc/sof/Kconfig
+++ b/sound/soc/sof/Kconfig
@@ -14,6 +14,7 @@ config SND_SOC_SOF_PCI
depends on PCI
select SND_SOC_SOF
select SND_SOC_ACPI if ACPI
+ select SND_INTEL_DSP_CONFIG
help
This adds support for PCI enumeration. This option is
required to enable Intel Skylake+ devices
--
2.7.4
More information about the Alsa-devel
mailing list