]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00162114 mx6: OpenVG can not work with latest kernel
authorwu guoxing <b39297@freescale.com>
Mon, 14 Nov 2011 11:44:33 +0000 (19:44 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:02 +0000 (14:10 +0200)
OpenVG can not work with latest kernel
this is caused by some gpu2d clock changes.

Signed-off-by: Wu Guoxing <b39297@freescale.com>
arch/arm/mach-mx6/clock.c

index a0db56dca5f722e3c257c1b9573085fbdb5a0384..d9d9ce91d79c44eeac72776a93f8ce0c21c1f3ac 100644 (file)
@@ -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,
        },
        {