]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00216855 suspend resume fail related with clock glitch
authorRichard Liu <r66033@freescale.com>
Wed, 1 Aug 2012 07:24:51 +0000 (15:24 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:08 +0000 (08:35 +0200)
GPU 2D core suspend resume fail related with clock glitch
Switch GPU 2D core clock to PLL2
PLL3 has an errata TKT094231 To1.2 will fix it

Signed-off-by: Richard Liu <r66033@freescale.com>
arch/arm/mach-mx6/clock.c

index 34c26d4d3bc07f11039fc13d7f75552e9f33e4b7..4d98b2680672b5aed1a87c62b7c711842f71a964 100644 (file)
@@ -5377,7 +5377,7 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
        /* Need to keep PLL3_PFD_540M enabled until AXI is sourced from it. */
        clk_enable(&axi_clk);
 
-       if (cpu_is_mx6q())
+       if (cpu_is_mx6q() && (mx6q_revision() > IMX_CHIP_REVISION_1_1))
                clk_set_parent(&gpu2d_core_clk[0], &pll3_usb_otg_main_clk);
 
        clk_set_parent(&ldb_di0_clk, &pll2_pfd_352M);