diff options
author | Sudip Mukherjee <sudip.mukherjee@codethink.co.uk> | 2016-03-11 13:12:52 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-11 21:51:17 -0500 |
commit | 568cecf42f35bf40bdf94107fb638997f82827f7 (patch) | |
tree | 336500b7e6682b94aeb07866513003b4e4ec38a4 /sound/soc | |
parent | 6a9364ca6fa07ec215b0ba7c49d110b8236985d4 (diff) |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/qcom/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 3cc252e55468..8ec9a074b38b 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig | |||
@@ -11,21 +11,24 @@ config SND_SOC_LPASS_CPU | |||
11 | 11 | ||
12 | config SND_SOC_LPASS_PLATFORM | 12 | config SND_SOC_LPASS_PLATFORM |
13 | tristate | 13 | tristate |
14 | depends on HAS_DMA | ||
14 | select REGMAP_MMIO | 15 | select REGMAP_MMIO |
15 | 16 | ||
16 | config SND_SOC_LPASS_IPQ806X | 17 | config SND_SOC_LPASS_IPQ806X |
17 | tristate | 18 | tristate |
19 | depends on HAS_DMA | ||
18 | select SND_SOC_LPASS_CPU | 20 | select SND_SOC_LPASS_CPU |
19 | select SND_SOC_LPASS_PLATFORM | 21 | select SND_SOC_LPASS_PLATFORM |
20 | 22 | ||
21 | config SND_SOC_LPASS_APQ8016 | 23 | config SND_SOC_LPASS_APQ8016 |
22 | tristate | 24 | tristate |
25 | depends on HAS_DMA | ||
23 | select SND_SOC_LPASS_CPU | 26 | select SND_SOC_LPASS_CPU |
24 | select SND_SOC_LPASS_PLATFORM | 27 | select SND_SOC_LPASS_PLATFORM |
25 | 28 | ||
26 | config SND_SOC_STORM | 29 | config SND_SOC_STORM |
27 | tristate "ASoC I2S support for Storm boards" | 30 | tristate "ASoC I2S support for Storm boards" |
28 | depends on SND_SOC_QCOM | 31 | depends on SND_SOC_QCOM && HAS_DMA |
29 | select SND_SOC_LPASS_IPQ806X | 32 | select SND_SOC_LPASS_IPQ806X |
30 | select SND_SOC_MAX98357A | 33 | select SND_SOC_MAX98357A |
31 | help | 34 | help |
@@ -34,7 +37,7 @@ config SND_SOC_STORM | |||
34 | 37 | ||
35 | config SND_SOC_APQ8016_SBC | 38 | config SND_SOC_APQ8016_SBC |
36 | tristate "SoC Audio support for APQ8016 SBC platforms" | 39 | tristate "SoC Audio support for APQ8016 SBC platforms" |
37 | depends on SND_SOC_QCOM | 40 | depends on SND_SOC_QCOM && HAS_DMA |
38 | select SND_SOC_LPASS_APQ8016 | 41 | select SND_SOC_LPASS_APQ8016 |
39 | help | 42 | help |
40 | Support for Qualcomm Technologies LPASS audio block in | 43 | Support for Qualcomm Technologies LPASS audio block in |