]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qcom: fix build error
authorSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Fri, 11 Mar 2016 18:12:52 +0000 (23:42 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 02:51:17 +0000 (09:51 +0700)
commit74d4fa267f0027afc565dd4b5a3f135175f7e1f9
tree336500b7e6682b94aeb07866513003b4e4ec38a4
parent12116c1ea6b33656c53291305c39c7720aa2bacb
ASoC: qcom: fix build error

While building m32r allmodconfig the build failed with:
ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!
ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined!

To satisfy the dependency CONFIG_SND_SOC_LPASS_PLATFORM should depend
on HAS_DMA.
Some other configs also needs the dependency on HAS_DMA as they are
directly or indirectly selecting SND_SOC_LPASS_PLATFORM.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig