From 808fa945175ace99284fc001195a43039636a319 Mon Sep 17 00:00:00 2001 From: wu guoxing Date: Mon, 14 Nov 2011 19:44:33 +0800 Subject: [PATCH] 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 --- arch/arm/mach-mx6/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }, { -- 2.39.5