]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap: fix compile-test building
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 May 2018 16:02:32 +0000 (18:02 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 25 May 2018 17:34:46 +0000 (18:34 +0100)
commit5d621708a6f43dd5f697b2228633300f08f64428
tree36cf840f1321162835114602e6a461d0001bc315
parent5758f417841f116b1a003d680657adfaa13b8e78
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: ff1ccd51ac90 ("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>
sound/soc/omap/Kconfig