git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'sh/dwarf-unwinder'
[pandora-kernel.git]
/
arch
/
arm
/
mach-davinci
/
clock.c
diff --git
a/arch/arm/mach-davinci/clock.c
b/arch/arm/mach-davinci/clock.c
index
39bf321
..
83d54d5
100644
(file)
--- a/
arch/arm/mach-davinci/clock.c
+++ b/
arch/arm/mach-davinci/clock.c
@@
-227,7
+227,10
@@
static void __init clk_pll_init(struct clk *clk)
if (ctrl & PLLCTL_PLLEN) {
bypass = 0;
mult = __raw_readl(pll->base + PLLM);
- mult = (mult & PLLM_PLLM_MASK) + 1;
+ if (cpu_is_davinci_dm365())
+ mult = 2 * (mult & PLLM_PLLM_MASK);
+ else
+ mult = (mult & PLLM_PLLM_MASK) + 1;
} else
bypass = 1;