diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-07-10 16:05:58 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-07-10 16:05:58 +0200 |
commit | 85dc0f8554fa024b02eb50dcca71fa9881a45ea5 (patch) | |
tree | 4e6221b1e9c59395a093f320f2cf2f2022efd122 /sound/pci/hda/patch_realtek.c | |
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>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions