Re: [PATCH] sound: soc: cygnus: add depends on HAS_DMA

From: Ray Jui
Date: Sat Oct 08 2016 - 16:26:27 EST


Hi Scott,

On 10/7/2016 12:24 PM, Scott Branden wrote:
add depends on HAS_DMA to Kconfig. This fixes error reported
by kbuild test robot when building for ARCH=m32r:
ERROR: "bad_dma_ops" [sound/soc/bcm/snd-soc-cygnus.ko] undefined!

Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
---
sound/soc/bcm/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig
index d528aac..edf3671 100644
--- a/sound/soc/bcm/Kconfig
+++ b/sound/soc/bcm/Kconfig
@@ -11,6 +11,7 @@ config SND_BCM2835_SOC_I2S
config SND_SOC_CYGNUS
tristate "SoC platform audio for Broadcom Cygnus chips"
depends on ARCH_BCM_CYGNUS || COMPILE_TEST
+ depends on HAS_DMA
help
Say Y if you want to add support for ASoC audio on Broadcom
Cygnus chips (bcm958300, bcm958305, bcm911360)
Looks good to me.

Reviewed-by: Ray Jui <ray.jui@xxxxxxxxxxxx>