diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-06-05 20:00:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-06 18:00:47 +0200 |
commit | 8d7d11005e9302fff3c50dd5193cf241ea41bba1 (patch) | |
tree | 09d1958849a9b223e0bb2285a496dd6f48fe98f3 /sound/soc/atmel | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-8d7d11005e9302fff3c50dd5193cf241ea41bba1.tar.xz linux-8d7d11005e9302fff3c50dd5193cf241ea41bba1.zip |
ASoC: atmel: fix build failure
m32r allmodconfig build is failing with the error:
ERROR: "bad_dma_ops" [sound/soc/atmel/snd-soc-atmel-pcm-pdc.ko] undefined!
The code is using DMA but the related dependency is not mentioned in the
Kconfig.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r-- | sound/soc/atmel/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index 06e099e802df..22aec9a1e9a4 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -10,6 +10,7 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC tristate + depends on HAS_DMA default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y) |