summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pcm-pp.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-17 07:27:24 +0000
commit6a67707b5ec3b2c649c401550bb7fdef2b7c8d07 (patch)
treebfe31942a4abbaac09ad0f4226effdcef8bf097e /firmware/target/arm/pcm-pp.c
parent43d7a75369286dc3b39b858df34f66b0b45de34e (diff)
downloadrockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.tar.gz
rockbox-6a67707b5ec3b2c649c401550bb7fdef2b7c8d07.zip
Commit to certain names for cache coherency APIs and discard the aliases.
Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r--firmware/target/arm/pcm-pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c
index 695bc71567..3854206ae8 100644
--- a/firmware/target/arm/pcm-pp.c
+++ b/firmware/target/arm/pcm-pp.c
@@ -158,7 +158,7 @@ void ICODE_ATTR __attribute__((interrupt("FIQ"))) fiq_playback(void)
158 if (dma_play_data.addr < UNCACHED_BASE_ADDR) { 158 if (dma_play_data.addr < UNCACHED_BASE_ADDR) {
159 /* Flush any pending cache writes */ 159 /* Flush any pending cache writes */
160 dma_play_data.addr = UNCACHED_ADDR(dma_play_data.addr); 160 dma_play_data.addr = UNCACHED_ADDR(dma_play_data.addr);
161 cpucache_flush(); 161 commit_discard_idcache();
162 } 162 }
163 } 163 }
164} 164}
@@ -444,7 +444,7 @@ void pcm_play_dma_start(const void *addr, size_t size)
444 if ((unsigned long)addr < UNCACHED_BASE_ADDR) { 444 if ((unsigned long)addr < UNCACHED_BASE_ADDR) {
445 /* Flush any pending cache writes */ 445 /* Flush any pending cache writes */
446 addr = UNCACHED_ADDR(addr); 446 addr = UNCACHED_ADDR(addr);
447 cpucache_flush(); 447 commit_discard_idcache();
448 } 448 }
449 449
450 dma_play_data.addr = (unsigned long)addr; 450 dma_play_data.addr = (unsigned long)addr;