commit | 85dc0f8554fa024b02eb50dcca71fa9881a45ea5 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Jul 10 16:05:58 2017 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jul 10 16:05:58 2017 +0200 |
tree | 4e6221b1e9c59395a093f320f2cf2f2022efd122 | |
parent | abe594c2cf55b46d4feb61c01fe9063afff2e50c [diff] |
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: Takashi Iwai <tiwai@suse.de>