mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 05:32:40 -05:00
imx233: fix clktrl auto slow function
Change-Id: I6c004836562b0605530ac334434b17afa89ebad5
This commit is contained in:
parent
c9ad8688f1
commit
13912fa1de
1 changed files with 2 additions and 2 deletions
|
|
@ -237,9 +237,9 @@ enum imx233_as_div_t imx233_clkctrl_get_auto_slow_divisor(void)
|
||||||
void imx233_clkctrl_enable_auto_slow(bool enable)
|
void imx233_clkctrl_enable_auto_slow(bool enable)
|
||||||
{
|
{
|
||||||
if(enable)
|
if(enable)
|
||||||
__REG_CLR(HW_CLKCTRL_HBUS) = HW_CLKCTRL_HBUS__AUTO_SLOW_MODE;
|
|
||||||
else
|
|
||||||
__REG_SET(HW_CLKCTRL_HBUS) = HW_CLKCTRL_HBUS__AUTO_SLOW_MODE;
|
__REG_SET(HW_CLKCTRL_HBUS) = HW_CLKCTRL_HBUS__AUTO_SLOW_MODE;
|
||||||
|
else
|
||||||
|
__REG_CLR(HW_CLKCTRL_HBUS) = HW_CLKCTRL_HBUS__AUTO_SLOW_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool imx233_clkctrl_is_auto_slow_enabled(void)
|
bool imx233_clkctrl_is_auto_slow_enabled(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue