projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c13de7
)
rk3066b: disable support sound DMA buffer in internal SRAM
author
黄涛
<huangtao@rock-chips.com>
Wed, 29 Aug 2012 11:44:43 +0000
(19:44 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 29 Aug 2012 11:53:37 +0000
(19:53 +0800)
sound/soc/rk29/rk29_pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/rk29/rk29_pcm.c
b/sound/soc/rk29/rk29_pcm.c
index 20b21e391f3d9f808923ceb1cac8fa1142163e06..602e53c757b2d7d4f7dba8647eca1d60b8779806 100755
(executable)
--- 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)