linux-xiaomi-chiron/sound/soc/sof
Pierre-Louis Bossart 8a3fea95fa
ASoC: SOF: SND_INTEL_DSP_CONFIG dependency
The sof-pci-dev driver fails to link when built into the kernel
and CONFIG_SND_INTEL_DSP_CONFIG is set to =m:

arm-linux-gnueabi-ld: sound/soc/sof/sof-pci-dev.o: in function `sof_pci_probe':
sof-pci-dev.c:(.text+0x1c): undefined reference to `snd_intel_dsp_driver_probe'

As a temporary fix, use IS_REACHABLE to prevent the problem from
happening. A more complete solution is to move this code to
Intel-specific parts, restructure the drivers and Kconfig as discussed
with Arnd Bergmann and Takashi Iwai.

Fixes: 82d9d54a6c ("ALSA: hda: add Intel DSP configuration / probe code")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210122005725.94163-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-25 12:53:42 +00:00
..
imx ASoC: SOF: imx: update kernel-doc description 2020-12-11 13:23:03 +00:00
intel ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies 2021-01-25 12:53:41 +00:00
xtensa
compress.c
compress.h
control.c
core.c
debug.c ASoC: SOF: modify the SOF_DBG flags 2020-12-11 13:22:57 +00:00
ipc.c
Kconfig ASoC: SOF: Fix spelling mistake in Kconfig "ond" -> "and" 2020-12-16 13:53:51 +00:00
loader.c ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00:00
Makefile
nocodec.c
ops.c ASoC: SOF: modify the SOF_DBG flags 2020-12-11 13:22:57 +00:00
ops.h
pcm.c
pm.c
probe.c
probe.h
sof-acpi-dev.c ASoC: SOF: SND_INTEL_DSP_CONFIG dependency 2021-01-25 12:53:42 +00:00
sof-audio.c
sof-audio.h
sof-of-dev.c
sof-pci-dev.c ASoC: SOF: SND_INTEL_DSP_CONFIG dependency 2021-01-25 12:53:42 +00:00
sof-priv.h ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00:00
topology.c
trace.c
utils.c