summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/dvfs_dptc-imx31.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-05 07:15:20 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-05 07:15:20 +0000
commit630b4fc55537721c68462e71d0910a3734baa852 (patch)
tree16ebb91388d2629e64a9f2260d91d1509ac56123 /firmware/target/arm/imx31/dvfs_dptc-imx31.c
parent9dd81ae53d87840a4cb6e9c4b90ecd2ca456835d (diff)
downloadrockbox-630b4fc55537721c68462e71d0910a3734baa852.tar.gz
rockbox-630b4fc55537721c68462e71d0910a3734baa852.zip
i.MX31/Gigabeat S: The nested IRQ code was just totally wrong and not actually working anyway (which is why it wasn't crashing). AVIC doesn't seem truthful about priority of current ISR either :\. Sometimes there were channel swaps during really active DVFS due to FIFO underflow from a needed long delay in the ISR (100us, and IIS TX only has 45us reserve) and DMARQ *must* be serviced low-latency. Get it doing as was intended.tcctool_v1_0bootloader_fuze_v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25822 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/dvfs_dptc-imx31.c')
-rw-r--r--firmware/target/arm/imx31/dvfs_dptc-imx31.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/dvfs_dptc-imx31.c b/firmware/target/arm/imx31/dvfs_dptc-imx31.c
index 5e1a598428..680b015c81 100644
--- a/firmware/target/arm/imx31/dvfs_dptc-imx31.c
+++ b/firmware/target/arm/imx31/dvfs_dptc-imx31.c
@@ -230,7 +230,7 @@ static void __attribute__((used)) dvfs_int(void)
230static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void) 230static __attribute__((naked, interrupt("IRQ"))) void CCM_DVFS_HANDLER(void)
231{ 231{
232 /* Audio can glitch with the long udelay if nested IRQ isn't allowed. */ 232 /* Audio can glitch with the long udelay if nested IRQ isn't allowed. */
233 AVIC_NESTED_NI_CALL_PROLOGUE(); 233 AVIC_NESTED_NI_CALL_PROLOGUE(INT_PRIO_DVFS);
234 asm volatile ("bl dvfs_int"); 234 asm volatile ("bl dvfs_int");
235 AVIC_NESTED_NI_CALL_EPILOGUE(); 235 AVIC_NESTED_NI_CALL_EPILOGUE();
236} 236}