浏览代码

ASoC: omap: fix compile-test building

The newly introduced driver causes a harmless Kconfig warning when
compile-testing random configurations:

WARNING: unmet direct dependencies detected for SND_SDMA_SOC
  Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && DMA_OMAP [=n]
  Selected by [y]:
  - SND_OMAP_SOC [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && (ARCH_OMAP [=y] && DMA_OMAP [=n] || ARM [=y] && COMPILE_TEST [=y])

By simply allow build testing without DMA_OMAP, we can shut up that warning.

Fixes: dde637f2daf1 ("ASoC: omap: Introduce the generic_dmaengine_pcm based sdma-pcm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Arnd Bergmann 7 年之前
父节点
当前提交
500413c509
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/omap/Kconfig

+ 1 - 1
sound/soc/omap/Kconfig

@@ -5,7 +5,7 @@ config SND_OMAP_SOC
 
 
 config SND_SDMA_SOC
 config SND_SDMA_SOC
 	tristate "SoC Audio for Texas Instruments chips using sDMA"
 	tristate "SoC Audio for Texas Instruments chips using sDMA"
-	depends on DMA_OMAP
+	depends on DMA_OMAP || COMPILE_TEST
 	select SND_SOC_GENERIC_DMAENGINE_PCM
 	select SND_SOC_GENERIC_DMAENGINE_PCM
 
 
 config SND_OMAP_SOC_DMIC
 config SND_OMAP_SOC_DMIC