ASoC: Intel: catpt: Add explicit DMADEVICES kconfig dependency
authorCezary Rojewski <cezary.rojewski@intel.com>
Wed, 7 Oct 2020 13:57:01 +0000 (15:57 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 8 Oct 2020 20:16:49 +0000 (21:16 +0100)
catpt selects DW_DMAC_CORE which requires DMADEVICES. Fix unmet direct
dependencies warning by updating driver's depends-on list.

Fixes: 6cbfa11d2694 ("ASoC: Intel: Select catpt and deprecate haswell")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20201007135701.20372-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig

index e53e9ff..d5bae5d 100644 (file)
@@ -37,7 +37,7 @@ config SND_SOC_INTEL_SST
 config SND_SOC_INTEL_CATPT
        tristate "Haswell and Broadwell"
        depends on ACPI || COMPILE_TEST
-       depends on SND_DMA_SGBUF
+       depends on DMADEVICES && SND_DMA_SGBUF
        select DW_DMAC_CORE
        select SND_SOC_ACPI_INTEL_MATCH
        help