Skip to content
Commit 85dc0f85 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm: Simplify check for dma_mmap_coherent() availability



We check the availability of dma_mmap_coherent() in hw_support_mmap()
but with an ugly ifdef of lots of arch-checks.  Now we have a nice
CONFIG_ARCH_NO_COHERENT_DMA_MMAP kconfig, and this can be used
together with CONFIG_HAS_DMA check for a cleaner and more
comprehensive check.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent abe594c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment