clk: rockchip: rk3288: fix softreset register count
authorMark yao <mark.yao@rock-chips.com>
Fri, 12 Sep 2014 09:24:46 +0000 (17:24 +0800)
committerMike Turquette <mturquette@linaro.org>
Thu, 25 Sep 2014 21:45:58 +0000 (14:45 -0700)
The rk3288 actually has 12 softresets, so fix the register count.

Signed-off-by: Mark yao <mark.yao@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/rockchip/clk-rk3288.c

index 0d8c6c59a75e2b00ce952c63a61eac5658c2e613..2e1d790df9bd408ebd482b4dda5ac4085f38dff4 100644 (file)
@@ -711,7 +711,7 @@ static void __init rk3288_clk_init(struct device_node *np)
        rockchip_clk_register_branches(rk3288_clk_branches,
                                  ARRAY_SIZE(rk3288_clk_branches));
 
-       rockchip_register_softrst(np, 9, reg_base + RK3288_SOFTRST_CON(0),
+       rockchip_register_softrst(np, 12, reg_base + RK3288_SOFTRST_CON(0),
                                  ROCKCHIP_SOFTRST_HIWORD_MASK);
 }
 CLK_OF_DECLARE(rk3288_cru, "rockchip,rk3288-cru", rk3288_clk_init);