summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8702
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-03-03 01:45:09 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-03-03 01:45:09 -0500
commit59e5a323f127423a39449e587f47c3ba0f9e7d4b (patch)
treedc303733835a4e26ae48762ca42259a69cd26a6e /firmware/target/arm/s5l8702
parent286a4c5caa1945c8d1cb365a3d90fb09d5700cb2 (diff)
Fix errors in unintentionally merged gerrit commit.
It proved the system work as unintended, even if slightly prematurely. It was almost ready anyway. Change-Id: Ic4de2b925bd26b094eaf65a120591569923954d1
Diffstat (limited to 'firmware/target/arm/s5l8702')
-rw-r--r--firmware/target/arm/s5l8702/pcm-s5l8702.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8702/pcm-s5l8702.c b/firmware/target/arm/s5l8702/pcm-s5l8702.c
index 1442afa420..ef404ddd9c 100644
--- a/firmware/target/arm/s5l8702/pcm-s5l8702.c
+++ b/firmware/target/arm/s5l8702/pcm-s5l8702.c
@@ -65,7 +65,8 @@ void INT_DMAC0C0(void)
DMAC0INTTCCLR = 1;
if (!pcm_remaining)
{
- pcm_play_dma_complete_callback((const void**)&dataptr, &pcm_remaining);
+ pcm_play_dma_complete_callback(PCM_DMAST_OK, (const void**)&dataptr,
+ &pcm_remaining);
pcm_chunksize = pcm_remaining;
}
if (!pcm_remaining)