diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 12:37:29 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-13 12:37:29 +0000 |
commit | eb960582667bf92b3bbd19b7269c59beded15970 (patch) | |
tree | 094c868a5af26d7f1879b8dc4efdbd5351797d14 | |
parent | 5d5bab7ed4e4f9e3b13defa94dbd8b65a767fdb0 (diff) | |
download | rockbox-eb960582667bf92b3bbd19b7269c59beded15970.tar.gz rockbox-eb960582667bf92b3bbd19b7269c59beded15970.zip |
Remove experimental check which should only be there if all PCM drivers do it. It's incomplete anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19999 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/coldfire/pcm-coldfire.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c index 97e4de7e4c..0782b116b4 100644 --- a/firmware/target/coldfire/pcm-coldfire.c +++ b/firmware/target/coldfire/pcm-coldfire.c | |||
@@ -466,12 +466,6 @@ void pcm_record_more(void *start, size_t size) | |||
466 | start = (void *)(((long)start + 3) & ~3); | 466 | start = (void *)(((long)start + 3) & ~3); |
467 | size &= ~3; | 467 | size &= ~3; |
468 | 468 | ||
469 | if (size <= 0) | ||
470 | { | ||
471 | pcm_rec_dma_stop(); | ||
472 | return; | ||
473 | } | ||
474 | |||
475 | pcm_rec_peak_addr = (unsigned long *)start; /* Start peaking at dest */ | 469 | pcm_rec_peak_addr = (unsigned long *)start; /* Start peaking at dest */ |
476 | DAR1 = (unsigned long)start; /* Destination address */ | 470 | DAR1 = (unsigned long)start; /* Destination address */ |
477 | BCR1 = (unsigned long)size; /* Bytes to transfer */ | 471 | BCR1 = (unsigned long)size; /* Bytes to transfer */ |