summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/audioout-imx233.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 13:16:17 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-19 16:10:51 +0200
commit553aeae9c63f789c969a954983e537244934903a (patch)
tree13a36bf8dc86d77b4ff5d7f6127b1df1c5c3e633 /firmware/target/arm/imx233/audioout-imx233.c
parent9022c69b646b43d7bd5ee2948f6abb9f51459aea (diff)
downloadrockbox-553aeae9c63f789c969a954983e537244934903a.tar.gz
rockbox-553aeae9c63f789c969a954983e537244934903a.tar.bz2
rockbox-553aeae9c63f789c969a954983e537244934903a.zip
imx233: fix clkctrl naming
Move to a more consistent naming convention like the other devices Change-Id: I4ddbbee27ee9f5ae775c5776592ec7ce02b30948
Diffstat (limited to 'firmware/target/arm/imx233/audioout-imx233.c')
-rw-r--r--firmware/target/arm/imx233/audioout-imx233.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/audioout-imx233.c b/firmware/target/arm/imx233/audioout-imx233.c
index e03de5c861..4e1ff27ad2 100644
--- a/firmware/target/arm/imx233/audioout-imx233.c
+++ b/firmware/target/arm/imx233/audioout-imx233.c
@@ -30,7 +30,7 @@ void imx233_audioout_preinit(void)
/* Enable AUDIOOUT block */
imx233_reset_block(&HW_AUDIOOUT_CTRL);
/* Enable digital filter clock */
- imx233_enable_xtal_clock(XTAL_FILT, true);
+ imx233_clkctrl_enable_xtal(XTAL_FILT, true);
/* Enable DAC */
__REG_CLR(HW_AUDIOOUT_ANACLKCTRL) = HW_AUDIOOUT_ANACLKCTRL__CLKGATE;
/* Set capless mode */
@@ -76,7 +76,7 @@ void imx233_audioout_close(void)
/* Gate off DAC */
__REG_SET(HW_AUDIOOUT_ANACLKCTRL) = HW_AUDIOOUT_ANACLKCTRL__CLKGATE;
/* Disable digital filter clock */
- imx233_enable_xtal_clock(XTAL_FILT, false);
+ imx233_clkctrl_enable_xtal(XTAL_FILT, false);
/* will also gate off the module */
__REG_CLR(HW_AUDIOOUT_CTRL) = HW_AUDIOOUT_CTRL__RUN;
}