Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383298

[PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8

From Xing Zheng <zhengxing@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8
Date 2016-04-20 13:20 +0200
Message-ID <rpYkN-70Z-5@gated-at.bofh.it> (permalink)
References <rpYb9-6WM-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The gate bits of the i2c4 and i2c8 are incorrect due to the manual
error, we need to fix them.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
---

 drivers/clk/rockchip/clk-rk3399.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index e81cc85..3c5ab39 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -1411,11 +1411,11 @@ static struct rockchip_clk_branch rk3399_clk_pmu_branches[] __initdata = {
 
 	COMPOSITE_NOMUX(SCLK_I2C4_PMU, "clk_i2c4_pmu", "ppll", 0,
 			RK3399_PMU_CLKSEL_CON(3), 0, 7, DFLAGS,
-			RK3399_PMU_CLKGATE_CON(0), 11, GFLAGS),
+			RK3399_PMU_CLKGATE_CON(0), 10, GFLAGS),
 
 	COMPOSITE_NOMUX(SCLK_I2C8_PMU, "clk_i2c8_pmu", "ppll", 0,
 			RK3399_PMU_CLKSEL_CON(2), 8, 7, DFLAGS,
-			RK3399_PMU_CLKGATE_CON(0), 10, GFLAGS),
+			RK3399_PMU_CLKGATE_CON(0), 11, GFLAGS),
 
 	DIV(0, "clk_32k_suspend_pmu", "xin24m", CLK_IGNORE_UNUSED,
 			RK3399_PMU_CLKSEL_CON(4), 0, 10, DFLAGS),
-- 
1.7.9.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] Fix the clock controller driver for the RK3399 Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:10 +0200
  [PATCH 4/6] clk: rockchip: rk3399: update necessary critical clocks Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:10 +0200
    Re: [PATCH 4/6] clk: rockchip: rk3399: update necessary critical clocks Heiko Stübner <heiko@sntech.de> - 2016-04-26 00:10 +0200
  [PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8 Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:20 +0200
    Re: [PATCH 6/6] clk: rockchip: rk3399: fix the gate bit for i2c4 and i2c8 Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200
  [PATCH 5/6] clk: rockchip: rk3399: fix the cifout clock Xing Zheng <zhengxing@rock-chips.com> - 2016-04-20 13:20 +0200
    Re: [PATCH 5/6] clk: rockchip: rk3399: fix the cifout clock Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200
  Re: [PATCH 3/6] clk: rockchip: rk3399: drop unnecessary CLK_IGNORE_UNUSED flags Heiko Stübner <heiko@sntech.de> - 2016-04-25 23:10 +0200

csiph-web