diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 19:14:51 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 19:14:51 +0000 |
commit | 7bbd71af5e7c4bf0c863ee94e1ab2162023d3ca4 (patch) | |
tree | a453aacae2eb0ad96698550d3afccf6ba7e470f2 /firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | |
parent | 8c2dc67fed40969e0aacf82aea04b88e7ec73102 (diff) | |
download | rockbox-7bbd71af5e7c4bf0c863ee94e1ab2162023d3ca4.tar.gz rockbox-7bbd71af5e7c4bf0c863ee94e1ab2162023d3ca4.zip |
Meg F/X: Fix wrong address for cache flush at PCM start; it should be virtual, not physical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20002 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c index fbf4547e53..bb1b2d9eaa 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | |||
@@ -110,7 +110,7 @@ static void play_start_pcm(void) | |||
110 | SRCPND = DMA2_MASK; | 110 | SRCPND = DMA2_MASK; |
111 | 111 | ||
112 | /* Flush any pending writes */ | 112 | /* Flush any pending writes */ |
113 | clean_dcache_range((void*)DISRC2, (DCON2 & 0xFFFFF) * 2); | 113 | clean_dcache_range((char*)DISRC2-0x30000000, (DCON2 & 0xFFFFF) * 2); |
114 | 114 | ||
115 | /* unmask DMA interrupt when unlocking */ | 115 | /* unmask DMA interrupt when unlocking */ |
116 | dma_play_lock.state = DMA2_MASK; | 116 | dma_play_lock.state = DMA2_MASK; |