projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff18a6
)
ARM: pxa: support CKENC in clk_enable
author
Chao Xie
<xiechao.mail@gmail.com>
Tue, 31 Jul 2012 06:13:08 +0000
(14:13 +0800)
committer
Haojian Zhuang
<haojian.zhuang@gmail.com>
Thu, 16 Aug 2012 08:15:44 +0000
(16:15 +0800)
Since more device clock is supported in PXA95x, add CKENC support.
Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/clock-pxa3xx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/clock-pxa3xx.c
b/arch/arm/mach-pxa/clock-pxa3xx.c
index 2a37a9a8f62188cafffbe6289130129d1bfc9c9e..d4e9499832dc90bcfd17fce61eaee4b9a8cd31fb 100644
(file)
--- a/
arch/arm/mach-pxa/clock-pxa3xx.c
+++ b/
arch/arm/mach-pxa/clock-pxa3xx.c
@@
-127,8
+127,10
@@
void clk_pxa3xx_cken_enable(struct clk *clk)
if (clk->cken < 32)
CKENA |= mask;
- else
+ else
if (clk->cken < 64)
CKENB |= mask;
+ else
+ CKENC |= mask;
}
void clk_pxa3xx_cken_disable(struct clk *clk)
@@
-137,8
+139,10
@@
void clk_pxa3xx_cken_disable(struct clk *clk)
if (clk->cken < 32)
CKENA &= ~mask;
- else
+ else
if (clk->cken < 64)
CKENB &= ~mask;
+ else
+ CKENC &= ~mask;
}
const struct clkops clk_pxa3xx_cken_ops = {