All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA
@ 2017-07-09 19:30 ` Geert Uytterhoeven
  0 siblings, 0 replies; 9+ messages in thread
From: Geert Uytterhoeven @ 2017-07-09 19:30 UTC (permalink / raw)
  To: Daniel Mack, Haojian Zhuang, Robert Jarzmik, Liam Girdwood,
	Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: Kuninori Morimoto, linux-arm-kernel, alsa-devel, linux-kernel,
	Geert Uytterhoeven

If NO_DMA=y:

    ERROR: "bad_dma_ops" [sound/soc/pxa/snd-soc-pxa2xx.ko] undefined!
    ERROR: "bad_dma_ops" [sound/arm/snd-pxa2xx-lib.ko] undefined!
    ERROR: "dma_common_mmap" [sound/arm/snd-pxa2xx-lib.ko] undefined!

Add a dependency on HAS_DMA to fix this.

Fixes: 73d7ee2e831f106c ("ASoC: pxa: add COMPILE_TEST on SND_PXA2XX_SOC")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 sound/soc/pxa/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig
index 960744e46edc0549..484ab3c2ad672fc8 100644
--- a/sound/soc/pxa/Kconfig
+++ b/sound/soc/pxa/Kconfig
@@ -1,6 +1,7 @@
 config SND_PXA2XX_SOC
 	tristate "SoC Audio for the Intel PXA2xx chip"
 	depends on ARCH_PXA || COMPILE_TEST
+	depends on HAS_DMA
 	select SND_PXA2XX_LIB
 	help
 	  Say Y or M if you want to add support for codecs attached to
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-11 14:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-09 19:30 [PATCH] ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA Geert Uytterhoeven
2017-07-09 19:30 ` Geert Uytterhoeven
2017-07-09 19:30 ` Geert Uytterhoeven
2017-07-10  6:31 ` Robert Jarzmik
2017-07-10  6:31   ` Robert Jarzmik
2017-07-10  6:31   ` Robert Jarzmik
2017-07-11 14:43 ` Applied "ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA" to the asoc tree Mark Brown
2017-07-11 14:43   ` Mark Brown
2017-07-11 14:43   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.