From 0a322d81da5b75e2f0c3674eae2e7aec829064e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 29 Aug 2012 19:44:43 +0800 Subject: [PATCH] rk3066b: disable support sound DMA buffer in internal SRAM --- sound/soc/rk29/rk29_pcm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.34.1