ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 9 Jul 2017 19:30:32 +0000 (21:30 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jul 2017 18:58:22 +0000 (19:58 +0100)
commitac1ca3ba9faae7e32f189edda14f6f147053d719
treebc69a303c44490ca8b55e59f71864fef6ae2d7b8
parentb821d298f8864dc3c3d42643812df43289159507
ASoC: pxa: SND_PXA2XX_SOC should depend on HAS_DMA

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>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/Kconfig