Skip to content

Commit 1081126

Browse files
plbossartgregkh
authored andcommitted
ASoC: SOF: Intel: fix Kconfig dependency for SND_INTEL_DSP_CONFIG
[ Upstream commit 358f0ac ] SND_INTEL_DSP_CONFIG is selected by the HDaudio, Skylake and SOF drivers. When the HDaudio link is not selected as a option, this Kconfig option is not touched and will default to whatever other drivers selected. In the case e.g. where HDaudio is compiled as built-in, the linker will complain: ld: sound/soc/sof/sof-pci-dev.o: in function `sof_pci_probe': sof-pci-dev.c:(.text+0x5c): undefined reference to `snd_intel_dsp_driver_probe' Adding the select for all HDaudio platforms, regardless of whether they rely on the HDaudio link or not, solves the problem. Reported-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Fixes: 82d9d54 ('ALSA: hda: add Intel DSP configuration / probe code') Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20201112164425.25603-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent ec6a178 commit 1081126

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/soc/sof/intel/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ config SND_SOC_SOF_JASPERLAKE
271271

272272
config SND_SOC_SOF_HDA_COMMON
273273
tristate
274+
select SND_INTEL_DSP_CONFIG
274275
select SND_SOC_SOF_INTEL_COMMON
275276
select SND_SOC_SOF_HDA_LINK_BASELINE
276277
help
@@ -330,7 +331,6 @@ config SND_SOC_SOF_HDA
330331
tristate
331332
select SND_HDA_EXT_CORE if SND_SOC_SOF_HDA_LINK
332333
select SND_SOC_HDAC_HDA if SND_SOC_SOF_HDA_AUDIO_CODEC
333-
select SND_INTEL_DSP_CONFIG
334334
help
335335
This option is not user-selectable but automagically handled by
336336
'select' statements at a higher level

0 commit comments

Comments
 (0)