[PATCH 61/133] [Jaunty SRU] ARM.imx51 Freescale:ENGR00112010 mx51:set gpu3d clock parent to ahb clock

Brad Figg brad.figg at canonical.com
Thu Jul 9 16:48:51 UTC 2009


From: Wu Guoxing <b02248 at freescale.com>

set gpu3d clock parent to ahb clock at init

Signed-off-by: Wu Guoxing <b02248 at freescale.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
 arch/arm/mach-mx51/clock.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-mx51/clock.c b/arch/arm/mach-mx51/clock.c
index 9d59576..52b8b37 100644
--- a/arch/arm/mach-mx51/clock.c
+++ b/arch/arm/mach-mx51/clock.c
@@ -3035,6 +3035,9 @@ int __init mxc_clocks_init(unsigned long ckil, unsigned long osc, unsigned long
 		clk_set_parent(&vpu_clk[1], &axi_a_clk);
 	}
 
+	clk_set_parent(&gpu3d_clk, &ahb_clk);
+	clk_set_parent(&gpu2d_clk, &ahb_clk);
+
 	/* Set the current working point. */
 	cpu_wp_tbl = get_cpu_wp(&cpu_wp_nr);
 	for (i = 0; i < cpu_wp_nr; i++) {
-- 
1.6.0.4





More information about the kernel-team mailing list