From: Finley Xiao Date: Thu, 22 Jun 2017 11:53:46 +0000 (+0800) Subject: clk: rockchip: rk3228: fix gpu gate-register X-Git-Tag: release-20171130_firefly~4^2~327 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=011fafcfa0dd3c391fb8fd01edf1e2bbd7bc3b2f;p=firefly-linux-kernel-4.4.55.git clk: rockchip: rk3228: fix gpu gate-register Fix a typo making the aclk_gpu and aclk_gpu_noc access a wrong register to handle its gate. Change-Id: Ie0bac8014363af7c0409b8a56eacf2e858818843 Signed-off-by: Finley Xiao --- diff --git a/drivers/clk/rockchip/clk-rk3228.c b/drivers/clk/rockchip/clk-rk3228.c index ca2b87d05418..31abdec2d17e 100644 --- a/drivers/clk/rockchip/clk-rk3228.c +++ b/drivers/clk/rockchip/clk-rk3228.c @@ -590,8 +590,8 @@ static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = { GATE(0, "pclk_peri_noc", "pclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(12), 2, GFLAGS), /* PD_GPU */ - GATE(ACLK_GPU, "aclk_gpu", "aclk_gpu_pre", 0, RK2928_CLKGATE_CON(13), 14, GFLAGS), - GATE(0, "aclk_gpu_noc", "aclk_gpu_pre", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(13), 15, GFLAGS), + GATE(ACLK_GPU, "aclk_gpu", "aclk_gpu_pre", 0, RK2928_CLKGATE_CON(7), 14, GFLAGS), + GATE(0, "aclk_gpu_noc", "aclk_gpu_pre", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(7), 15, GFLAGS), /* PD_BUS */ GATE(0, "sclk_initmem_mbist", "aclk_cpu", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(8), 1, GFLAGS),