From: 黄涛 Date: Wed, 29 Aug 2012 11:44:43 +0000 (+0800) Subject: rk3066b: disable support sound DMA buffer in internal SRAM X-Git-Tag: firefly_0821_release~8779 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0a322d81da5b75e2f0c3674eae2e7aec829064e7;p=firefly-linux-kernel-4.4.55.git rk3066b: disable support sound DMA buffer in internal SRAM --- diff --git a/sound/soc/rk29/rk29_pcm.c b/sound/soc/rk29/rk29_pcm.c index 20b21e391f3d..602e53c757b2 100755 --- a/sound/soc/rk29/rk29_pcm.c +++ b/sound/soc/rk29/rk29_pcm.c @@ -487,7 +487,8 @@ static struct snd_pcm_ops rockchip_pcm_ops = { .mmap = rockchip_pcm_mmap, }; -#ifdef CONFIG_ARCH_RK30 +#if defined(CONFIG_ARCH_RK3066B) +#elif defined(CONFIG_ARCH_RK30) #define SRAM_DMA_PHYS_PLAYBACK (dma_addr_t)(RK30_IMEM_PHYS + 16*1024) #define SRAM_DMA_START_PLAYBACK (RK30_IMEM_NONCACHED + 16*1024) #define SRAM_DMA_PHYS_CAPTURE (dma_addr_t)(SRAM_DMA_PHYS_PLAYBACK + 24*1024)