ALSA: pcm - Use dma_mmap_coherent() if available
authorTakashi Iwai <tiwai@suse.de>
Thu, 26 Nov 2009 11:40:21 +0000 (12:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Nov 2009 14:07:14 +0000 (15:07 +0100)
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: Takashi Iwai <tiwai@suse.de>

No differences found