diff options
Diffstat (limited to 'firmware/target/arm/imx233/timrot-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/timrot-imx233.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/timrot-imx233.c b/firmware/target/arm/imx233/timrot-imx233.c index 24ed0096ab..327b1d16b1 100644 --- a/firmware/target/arm/imx233/timrot-imx233.c +++ b/firmware/target/arm/imx233/timrot-imx233.c @@ -58,13 +58,13 @@ void imx233_setup_timer(unsigned timer_nr, bool reload, unsigned count, if(fn != NULL) { /* enable interrupt */ - imx233_enable_interrupt(INT_SRC_TIMER(timer_nr), true); + imx233_icoll_enable_interrupt(INT_SRC_TIMER(timer_nr), true); /* clear irq bit and enable */ __REG_CLR(HW_TIMROT_TIMCTRL(timer_nr)) = HW_TIMROT_TIMCTRL__IRQ; __REG_SET(HW_TIMROT_TIMCTRL(timer_nr)) = HW_TIMROT_TIMCTRL__IRQ_EN; } else - imx233_enable_interrupt(INT_SRC_TIMER(timer_nr), false); + imx233_icoll_enable_interrupt(INT_SRC_TIMER(timer_nr), false); /* finally update */ __REG_SET(HW_TIMROT_TIMCTRL(timer_nr)) = HW_TIMROT_TIMCTRL__UPDATE; |