diff options
author | Wu Guoxing <b39297@freescale.com> | 2012-03-13 14:40:50 +0800 |
---|---|---|
committer | Wu Guoxing <b39297@freescale.com> | 2012-03-13 15:02:23 +0800 |
commit | 80a072152201ae758740169ce90bdaa85772ecc4 (patch) | |
tree | 65e867ba106e68de6069092195d5581507ef0946 /arch/arm/mach-mx6/clock.c | |
parent | ce7f8ab66809246fe6d6862dcdb579df7ebed56b (diff) |
ENGR00176655:mx6:remove openvg_axi_clk from gpu2d_axi_clk's secondary
if set vg clock as 2d axi clk's secondary will make
2d axi clk use count error
Signed-off-by: Wu Guoxing <b39297@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/clock.c')
-rw-r--r-- | arch/arm/mach-mx6/clock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index 2ab6cb9daf4a..813c55432d70 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -1765,7 +1765,6 @@ static int _clk_gpu2d_axi_set_parent(struct clk *clk, struct clk *parent) static struct clk gpu2d_axi_clk = { __INIT_CLK_DEBUG(gpu2d_axi_clk) .parent = &axi_clk, - .secondary = &openvg_axi_clk, .set_parent = _clk_gpu2d_axi_set_parent, }; @@ -4371,12 +4370,8 @@ static struct clk gpu2d_core_clk[] = { .set_rate = _clk_gpu2d_core_set_rate, .get_rate = _clk_gpu2d_core_get_rate, .round_rate = _clk_gpu2d_core_round_rate, - .secondary = &gpu2d_core_clk[1], - .flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE, - }, - { - .parent = &gpu2d_axi_clk, .secondary = &mx6fast1_clk, + .flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE, }, }; @@ -5192,7 +5187,6 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc, clk_set_parent(&gpu3d_axi_clk, &mmdc_ch0_axi_clk[0]); /* on mx6dl gpu2d_axi_clk source from mmdc0 directly */ clk_set_parent(&gpu2d_axi_clk, &mmdc_ch0_axi_clk[0]); - gpu2d_axi_clk.secondary = NULL; /* set axi_clk parent to pll3_pfd_540M */ clk_set_parent(&axi_clk, &pll3_pfd_540M); |