summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/icoll-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-02 04:30:09 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 23:14:24 +0100
commit1a06292e418ceb765121e5792b305e17d39b9618 (patch)
tree3d5a7af8c913cb3a34b0633b5e17789b38143fed /firmware/target/arm/imx233/icoll-imx233.h
parent91a8cd1ae9ebac9cf6a6fa1623873d22c87375d8 (diff)
downloadrockbox-1a06292e418ceb765121e5792b305e17d39b9618.tar.gz
rockbox-1a06292e418ceb765121e5792b305e17d39b9618.tar.bz2
rockbox-1a06292e418ceb765121e5792b305e17d39b9618.zip
imx233: increase audio DAC IRQ priority
This should hopefully fix some audio glitches Change-Id: Ic9701d281e7559c9d93fcb8dad9373caaad9bfb6
Diffstat (limited to 'firmware/target/arm/imx233/icoll-imx233.h')
-rw-r--r--firmware/target/arm/imx233/icoll-imx233.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/icoll-imx233.h b/firmware/target/arm/imx233/icoll-imx233.h
index 2de2693ae4..f094930864 100644
--- a/firmware/target/arm/imx233/icoll-imx233.h
+++ b/firmware/target/arm/imx233/icoll-imx233.h
@@ -78,6 +78,12 @@
#define BM_ICOLL_PRIORITYn_SOFTIRQx(x) (1 << (3 + 8 * (x)))
#endif
+/* Interrupt priorities for typical tasks */
+#define ICOLL_PRIO_NORMAL 0
+#define ICOLL_PRIO_AUDIO 1
+#define ICOLL_PRIO_DPC 2
+#define ICOLL_PRIO_WATCHDOG 3
+
struct imx233_icoll_irq_info_t
{
bool enabled;