projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a147bd7
)
clk: rockchip: fix rk3368 cpuclk divider offsets
author
Heiko Stübner
<heiko@sntech.de>
Tue, 1 Dec 2015 21:31:56 +0000
(22:31 +0100)
committer
Gerrit Code Review
<gerrit@rock-chips.com>
Wed, 2 Dec 2015 10:19:20 +0000
(18:19 +0800)
Due to a copy-paste error the the rk3368 cpuclk settings were acessing
rk3288-specific register offsets. This never caused problems till now,
as cpu frequency scaling in't used currently at all.
Change-Id: I525cbf5136f5986fc76e3d7bd090e51547dc2bf7
Reported-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3368.c
patch
|
blob
|
history
diff --git
a/drivers/clk/rockchip/clk-rk3368.c
b/drivers/clk/rockchip/clk-rk3368.c
index 096a74f97c5315905cb5f36f5cd21722ad615fb7..c3b84140483c1fde14be15a3fb4901c38db1259a 100644
(file)
--- a/
drivers/clk/rockchip/clk-rk3368.c
+++ b/
drivers/clk/rockchip/clk-rk3368.c
@@
-184,13
+184,13
@@
static const struct rockchip_cpuclk_reg_data rk3368_cpuclkl_data = {
#define RK3368_CLKSEL0(_offs, _aclkm) \
{ \
- .reg = RK3
28
8_CLKSEL_CON(0 + _offs), \
+ .reg = RK3
36
8_CLKSEL_CON(0 + _offs), \
.val = HIWORD_UPDATE(_aclkm, RK3368_DIV_ACLKM_MASK, \
RK3368_DIV_ACLKM_SHIFT), \
}
#define RK3368_CLKSEL1(_offs, _atclk, _pdbg) \
{ \
- .reg = RK3
28
8_CLKSEL_CON(1 + _offs), \
+ .reg = RK3
36
8_CLKSEL_CON(1 + _offs), \
.val = HIWORD_UPDATE(_atclk, RK3368_DIV_ATCLK_MASK, \
RK3368_DIV_ATCLK_SHIFT) | \
HIWORD_UPDATE(_pdbg, RK3368_DIV_PCLK_DBG_MASK, \