ASoC: Intel: boards: Add COMPILE_TEST for new machine drivers
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 30 May 2019 11:50:14 +0000 (06:50 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 30 May 2019 15:35:11 +0000 (16:35 +0100)
We recently added COMPILE_TEST but new machine drivers were not
updated. Fix.

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

index 317ee1e..41649dc 100644 (file)
@@ -157,7 +157,8 @@ config SND_SOC_INTEL_CHT_BSW_NAU8824_MACH
 
 config SND_SOC_INTEL_BYT_CHT_CX2072X_MACH
        tristate "Baytrail & Cherrytrail with CX2072X codec"
-       depends on X86_INTEL_LPSS && I2C && ACPI
+       depends on I2C && ACPI
+       depends on X86_INTEL_LPSS || COMPILE_TEST
        select SND_SOC_ACPI
        select SND_SOC_CX2072X
        help
@@ -398,8 +399,8 @@ if SND_SOC_SOF_HDA_COMMON || SND_SOC_SOF_BAYTRAIL
 config SND_SOC_INTEL_SOF_RT5682_MACH
        tristate "SOF with rt5682 codec in I2S Mode"
        depends on I2C && ACPI
-       depends on (SND_SOC_SOF_HDA_COMMON && MFD_INTEL_LPSS) ||\
-                  (SND_SOC_SOF_BAYTRAIL && X86_INTEL_LPSS)
+       depends on (SND_SOC_SOF_HDA_COMMON && (MFD_INTEL_LPSS || COMPILE_TEST)) ||\
+                  (SND_SOC_SOF_BAYTRAIL && (X86_INTEL_LPSS || COMPILE_TEST))
        select SND_SOC_RT5682
        select SND_SOC_DMIC
        select SND_SOC_HDAC_HDMI