mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 23:30:55 +07:00
ARM: imx: clk: correct arm clock usecount
ARM clock is sourcing from pll1_sw, and pll1_sw can be either from pll1_sys or step, so we should enable arm clock during clock initialization instead of pll1_sys, otherwise, arm clock's usecount would be incorrect and PLL1 will never be disabled even it is not used. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
490dd8808a
commit
8202a3ce9c
@ -114,7 +114,7 @@ static struct clk *clk[clk_max];
|
|||||||
static struct clk_onecell_data clk_data;
|
static struct clk_onecell_data clk_data;
|
||||||
|
|
||||||
static enum mx6q_clks const clks_init_on[] __initconst = {
|
static enum mx6q_clks const clks_init_on[] __initconst = {
|
||||||
mmdc_ch0_axi, rom, pll1_sys,
|
mmdc_ch0_axi, rom, arm,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct clk_div_table clk_enet_ref_table[] = {
|
static struct clk_div_table clk_enet_ref_table[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user