ASoC: Intel: fix ACPI probe regression with Atom DPCM driver
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 4 Jan 2016 23:20:23 +0000 (17:20 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jan 2016 12:43:54 +0000 (12:43 +0000)
The commit 95f098014815b330838b1173d3d7bcea3b481242
"ASoC: Intel: Move apci find machine routines"

introduced a regression in ACPI probe of the DPCM driver.
Fix by conditionally compiling sst-acpi when the DPCM driver
is not selected

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/Makefile

index 3b9332e7a094caa8f8300f1b69866729989a7d7d..668fdeee195e2f0343047c41b0b5210d5bdc4c07 100644 (file)
@@ -1,5 +1,10 @@
 snd-soc-sst-dsp-objs := sst-dsp.o
+ifneq ($(CONFIG_SND_SST_IPC_ACPI),)
+snd-soc-sst-acpi-objs := sst-match-acpi.o
+else
 snd-soc-sst-acpi-objs := sst-acpi.o sst-match-acpi.o
+endif
+
 snd-soc-sst-ipc-objs := sst-ipc.o
 
 snd-soc-sst-dsp-$(CONFIG_DW_DMAC_CORE) += sst-firmware.o