summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwu guoxing <b39297@freescale.com>2011-11-14 19:44:33 +0800
committerwu guoxing <b39297@freescale.com>2011-11-15 13:17:32 +0800
commit6504d5b19a45158763c13b381be70c1a5cea9453 (patch)
treeb56bf5fb8fb09830ca39cd40e53d471bc0b245c2
parent313e44d806368623bc0302f4611bb038ee4c02f4 (diff)
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 <b39297@freescale.com>
-rw-r--r--arch/arm/mach-mx6/clock.c4
1 files 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,
},
{