diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-12-12 20:12:22 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-12-12 20:12:22 +0000 |
commit | 184459fa54f1d3f1a6c13c6e729fa116689f225c (patch) | |
tree | 968dcda6fc2ad82e945f2ee7f750eb6873c0cc63 /firmware/target/arm/as3525/dma-pl081.c | |
parent | 5c1e9365928592a3b54b07e008ccfb5a0656932e (diff) |
Deal with a complication when transferring recording method from PP5024: since the FIFO POP is always read until empty, keep track of sample parity instead of always saving the first one in the FIFO upon entering the ISR or else the first of a duplicate that is also the last in the FIFO would get duplicated. Also, give top priority to audio interrupts in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31218 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/dma-pl081.c')
-rw-r--r-- | firmware/target/arm/as3525/dma-pl081.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/dma-pl081.c b/firmware/target/arm/as3525/dma-pl081.c index f4cc07df30..bd895a6d83 100644 --- a/firmware/target/arm/as3525/dma-pl081.c +++ b/firmware/target/arm/as3525/dma-pl081.c @@ -137,7 +137,7 @@ void INT_DMAC(void) { unsigned int channel; - /* SD channel is serviced first */ + /* Lowest channel index is serviced first */ for(channel = 0; channel < 2; channel++) if(DMAC_INT_STATUS & (1<<channel)) { |