ALSA: pcm: 64 bit ARM has coherent DMA too
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 29 Aug 2014 14:14:09 +0000 (15:14 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 7 Oct 2014 11:11:01 +0000 (12:11 +0100)
Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
sound/core/pcm_native.c

index b653ab001fbac0778547b933815dff289240f7cf..39c572806d0d205bab17d6c1a520e0f8590efc11 100644 (file)
@@ -3190,7 +3190,7 @@ static const struct vm_operations_struct snd_pcm_vm_ops_data_fault = {
 
 #ifndef ARCH_HAS_DMA_MMAP_COHERENT
 /* This should be defined / handled globally! */
-#ifdef CONFIG_ARM
+#if defined(CONFIG_ARM) || defined(CONFIG_ARM64)
 #define ARCH_HAS_DMA_MMAP_COHERENT
 #endif
 #endif