From eb960582667bf92b3bbd19b7269c59beded15970 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 13 Feb 2009 12:37:29 +0000 Subject: 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 --- firmware/target/coldfire/pcm-coldfire.c | 6 ------ 1 file changed, 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) start = (void *)(((long)start + 3) & ~3); size &= ~3; - if (size <= 0) - { - pcm_rec_dma_stop(); - return; - } - pcm_rec_peak_addr = (unsigned long *)start; /* Start peaking at dest */ DAR1 = (unsigned long)start; /* Destination address */ BCR1 = (unsigned long)size; /* Bytes to transfer */ -- cgit v1.2.3