On Thu, 17 Nov 2016 19:52:37 +0100,
Florian Fainelli wrote:
> 
> Architectures like m32r do not have a proper DMA-API implementation,
> fixes COMPILE_TEST linking failures for the sounds subsystem.

What error did you get exactly?
There are already CONFIG_HAS_DMA dependency in a few places, so I
wonder what's missing.


thanks,

Takashi

> 
> Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
> ---
>  sound/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/sound/Kconfig b/sound/Kconfig
> index 5a240e050ae6..a768704d2f47 100644
> --- a/sound/Kconfig
> +++ b/sound/Kconfig
> @@ -60,6 +60,7 @@ if !M68K && !UML
>  
>  menuconfig SND
>       tristate "Advanced Linux Sound Architecture"
> +     depends on HAS_DMA
>       help
>         Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
>         the new base sound system.
> -- 
> 2.9.3
> 
> 

Reply via email to