summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/timrot-imx233.c
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/timrot-imx233.c
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/timrot-imx233.c')
-rw-r--r--firmware/target/arm/imx233/timrot-imx233.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/timrot-imx233.c b/firmware/target/arm/imx233/timrot-imx233.c
index 14b9bdca7b..0ba86c755d 100644
--- a/firmware/target/arm/imx233/timrot-imx233.c
+++ b/firmware/target/arm/imx233/timrot-imx233.c
@@ -55,6 +55,11 @@ void imx233_timrot_setup(unsigned timer_nr, bool reload, unsigned count,
restore_interrupt(oldstatus);
}
+void imx233_timrot_set_priority(unsigned timer_nr, unsigned prio)
+{
+ imx233_icoll_set_priority(INT_SRC_TIMER(timer_nr), prio);
+}
+
struct imx233_timrot_info_t imx233_timrot_get_info(unsigned timer_nr)
{
struct imx233_timrot_info_t info;