projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
243229b
)
clk: rockchip: fix clk_i2sout parent selection bits on rk3399
author
Alberto Panizzo
<alberto@amarulasolutions.com>
Fri, 6 Jul 2018 13:18:51 +0000
(15:18 +0200)
committer
Heiko Stuebner
<heiko@sntech.de>
Sat, 7 Jul 2018 22:19:19 +0000
(
00:19
+0200)
Register, shift and mask were wrong according to datasheet.
Fixes: 115510053e5e ("clk: rockchip: add clock controller for the RK3399")
Cc: stable@vger.kernel.org
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Signed-off-by: Anthony Brandon <anthony@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3399.c
patch
|
blob
|
history
diff --git
a/drivers/clk/rockchip/clk-rk3399.c
b/drivers/clk/rockchip/clk-rk3399.c
index bca10d618f0a8731905115b3b57ab6533e2529f1..2a8634a52856e510cc1cfa2af7459c6ef550eb3d 100644
(file)
--- a/
drivers/clk/rockchip/clk-rk3399.c
+++ b/
drivers/clk/rockchip/clk-rk3399.c
@@
-631,7
+631,7
@@
static struct rockchip_clk_branch rk3399_clk_branches[] __initdata = {
MUX(0, "clk_i2sout_src", mux_i2sch_p, CLK_SET_RATE_PARENT,
RK3399_CLKSEL_CON(31), 0, 2, MFLAGS),
COMPOSITE_NODIV(SCLK_I2S_8CH_OUT, "clk_i2sout", mux_i2sout_p, CLK_SET_RATE_PARENT,
- RK3399_CLKSEL_CON(3
0), 8, 2
, MFLAGS,
+ RK3399_CLKSEL_CON(3
1), 2, 1
, MFLAGS,
RK3399_CLKGATE_CON(8), 12, GFLAGS),
/* uart */