ASoC: SOF/Intel: fix selection of SND_INTEL_NHTL
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 29 Aug 2019 21:42:13 +0000 (16:42 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 11:26:53 +0000 (12:26 +0100)
commit37638af8135c44e9c9e4b2744eadfd3839efc023
treefceae273cbe6d28a01e125be200c01576eed6b9f
parent54d037d5a466ce518ee4bb81f39b79ac7d843ba6
ASoC: SOF/Intel: fix selection of SND_INTEL_NHTL

We should only select SND_INTEL_NHLT when ACPI is defined. This was
done for the legacy HDAudio driver but not for DSP-enabled cases,
leading to compilation errors with randconfig.

Fix by aligning on the same solution.

For the Skylake driver this is overkill since there is a top-level
dependency on ACPI, but it doesn't hurt and it's better to have
consistency.

Fixes: 68b953aeb50d9 ('ASoC: SOF: Intel: hda: fixup HDaudio topology name with DMIC number')
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190829214213.11653-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig
sound/soc/sof/intel/Kconfig