diff options
Diffstat (limited to 'firmware/target/arm/imx233/audioout-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/audioout-imx233.c | 4 |
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 8f71655699..8903879b8a 100644 --- a/firmware/target/arm/imx233/audioout-imx233.c +++ b/firmware/target/arm/imx233/audioout-imx233.c | |||
@@ -40,7 +40,7 @@ void imx233_audioout_preinit(void) | |||
40 | /* Enable AUDIOOUT block */ | 40 | /* Enable AUDIOOUT block */ |
41 | imx233_reset_block(&HW_AUDIOOUT_CTRL); | 41 | imx233_reset_block(&HW_AUDIOOUT_CTRL); |
42 | /* Enable digital filter clock */ | 42 | /* Enable digital filter clock */ |
43 | imx233_clkctrl_enable_xtal(XTAL_FILT, true); | 43 | imx233_clkctrl_enable(CLK_FILT, true); |
44 | /* Enable DAC */ | 44 | /* Enable DAC */ |
45 | BF_CLR(AUDIOOUT_ANACLKCTRL, CLKGATE); | 45 | BF_CLR(AUDIOOUT_ANACLKCTRL, CLKGATE); |
46 | /* Set capless mode */ | 46 | /* Set capless mode */ |
@@ -97,7 +97,7 @@ void imx233_audioout_close(void) | |||
97 | /* Gate off DAC */ | 97 | /* Gate off DAC */ |
98 | BF_SET(AUDIOOUT_ANACLKCTRL, CLKGATE); | 98 | BF_SET(AUDIOOUT_ANACLKCTRL, CLKGATE); |
99 | /* Disable digital filter clock */ | 99 | /* Disable digital filter clock */ |
100 | imx233_clkctrl_enable_xtal(XTAL_FILT, false); | 100 | imx233_clkctrl_enable(CLK_FILT, false); |
101 | /* will also gate off the module */ | 101 | /* will also gate off the module */ |
102 | BF_CLR(AUDIOOUT_CTRL, RUN); | 102 | BF_CLR(AUDIOOUT_CTRL, RUN); |
103 | } | 103 | } |