From 633f3880024a2f83a21dd96368aa397940bc9ad6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 7 Mar 2007 06:23:02 +0000 Subject: Coldfire targets: Shuffle IRQ levels around to have all interaction between low level audio function calls and DMA be atomic. Make recording and playback independently startable and stoppable so one can be running and not interfere with the other. All tests I can do at the moment check out ok (play, record, play+record, FM radio on iRivers, S/PDIF on H120 (w/running optical on/off), and on-the-fly samplerate changes). Recording tested for well over an hour run and no problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12658 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/iriver/h300/power-h300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/coldfire/iriver/h300/power-h300.c') diff --git a/firmware/target/coldfire/iriver/h300/power-h300.c b/firmware/target/coldfire/iriver/h300/power-h300.c index 2875fa2a47..5e57326c36 100644 --- a/firmware/target/coldfire/iriver/h300/power-h300.c +++ b/firmware/target/coldfire/iriver/h300/power-h300.c @@ -91,7 +91,7 @@ bool ide_powered(void) void power_off(void) { - set_irq_level(HIGHEST_IRQ_LEVEL); + set_irq_level(DISABLE_INTERRUPTS); and_l(~0x00080000, &GPIO1_OUT); asm("halt"); while(1) -- cgit v1.2.3