public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: rockchip: rk3288: fix softreset register count
@ 2014-09-12  9:24 Mark yao
  2014-09-12  9:56 ` Heiko Stübner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark yao @ 2014-09-12  9:24 UTC (permalink / raw)
  To: Mike Turquette, heiko
  Cc: linux-kernel, djkurtz, dianders, dkl, eddie.cai, xjq, kfx,
	huangtao, zyw, yxj, cym, zhengsq, caesar.wang, kever.yang,
	Mark yao

The rk3288 actually has 12 softresets, so fix the register count.

Signed-off-by: Mark yao <mark.yao@rock-chips.com>
---
 drivers/clk/rockchip/clk-rk3288.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c
index 0d8c6c5..2e1d790 100644
--- a/drivers/clk/rockchip/clk-rk3288.c
+++ b/drivers/clk/rockchip/clk-rk3288.c
@@ -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);
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-25 21:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12  9:24 [PATCH] clk: rockchip: rk3288: fix softreset register count Mark yao
2014-09-12  9:56 ` Heiko Stübner
2014-09-25 15:11 ` Doug Anderson
2014-09-25 21:46 ` Mike Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox