Skip to content
Commit 657b1989 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm - Use dma_mmap_coherent() if available



Use dma_mmap_coherent() for mmapping the buffers allocated via
dma_alloc_coherent() if available.  Currently, only ARM has this function,
so we do temporarily have an ifdef pcm_native.c.  This should be handled
better globally in future.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 648f4e3e
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