From: wu guoxing Date: Mon, 14 Nov 2011 11:44:33 +0000 (+0800) Subject: ENGR00162114 mx6: OpenVG can not work with latest kernel X-Git-Tag: v3.0.35-fsl~1900 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dfaa4336c7f799c4a15b2ecb827c7915de001cfb;p=karo-tx-linux.git ENGR00162114 mx6: OpenVG can not work with latest kernel OpenVG can not work with latest kernel this is caused by some gpu2d clock changes. Signed-off-by: Wu Guoxing --- diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index a0db56dca5f7..d9d9ce91d79c 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -1539,7 +1539,7 @@ 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 = &mmdc_ch0_axi_clk[0], + .secondary = &openvg_axi_clk, .set_parent = _clk_gpu2d_axi_set_parent, }; @@ -4237,7 +4237,7 @@ 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[0], + .secondary = &gpu2d_core_clk[1], .flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE, }, {