WSL2-Linux-Kernel/sound/soc/intel/common
Jie Yang ef3e199a49 ASoC: Intel: sst: only use sst-firmware when DW DMAC is available
Currentlly, we use Synopsys DesignWare DMA Controller for
baytrail/haswell/broadwell ADSP firmware loading, but for
skylake, we don't use it, compiling sst-firmware.c may
introduce error when CONFIG_DW_DMAC_CORE is not enabled:

    sound/built-in.o: In function `sst_dma_new':
    (.text+0xd7b38): undefined reference to `dw_dma_probe'
    sound/built-in.o: In function `sst_dma_free':
    (.text+0xd7c0a): undefined reference to `dw_dma_remove'

Here we only compile sst-firmware when CONFIG_DW_DMAC_CORE
is selected, to fix the linking error issue.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-10-22 14:01:51 +01:00
..
Makefile ASoC: Intel: sst: only use sst-firmware when DW DMAC is available 2015-10-22 14:01:51 +01:00
sst-acpi.c ASoC: intel: Constify ACPI device ids 2015-06-15 11:32:07 +01:00
sst-dsp-priv.h ASoC: Intel: Skylake: Correct the runtime handler behaviour 2015-10-09 11:19:00 +01:00
sst-dsp.c ASoC: Intel: sst: only use sst-firmware when DW DMAC is available 2015-10-22 14:01:51 +01:00
sst-dsp.h ASoC: Intel: sst: only use sst-firmware when DW DMAC is available 2015-10-22 14:01:51 +01:00
sst-firmware.c ASoC: Intel: use dw_dmac autoconfiguration 2015-10-07 11:24:49 +01:00
sst-ipc.c ASoC: Intel: Allocate for the mailbox with max size 2015-06-02 20:48:08 +01:00
sst-ipc.h ASoC: Intel: Allocate for the mailbox with max size 2015-06-02 20:48:08 +01:00