Re: [PATCH] ALSA: pcm: Protect call to dma_mmap_coherent() by check for HAS_DMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 09 Jul 2017 21:31:02 +0200,
Geert Uytterhoeven wrote:
> 
> If NO_DMA=y:
> 
>     sound/core/pcm_native.o: In function `snd_pcm_lib_default_mmap':
>     pcm_native.c:(.text+0x144c): undefined reference to `bad_dma_ops'
>     pcm_native.c:(.text+0x1474): undefined reference to `dma_common_mmap'
> 
> Add a check for HAS_DMA to fix this.
> 
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux