git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: sh_mobile usbf clock framework support
[safe/jmp/linux-2.6]
/
arch
/
sh
/
kernel
/
cpu
/
sh4a
/
clock-sh7785.c
diff --git
a/arch/sh/kernel/cpu/sh4a/clock-sh7785.c
b/arch/sh/kernel/cpu/sh4a/clock-sh7785.c
index
805535a
..
27fa81b
100644
(file)
--- a/
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
+++ b/
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
@@
-26,7
+26,7
@@
static int pfc_divisors[] = { 1, 1, 1, 1, 1, 1, 1, 18,
static void master_clk_init(struct clk *clk)
{
- clk->rate *=
36
;
+ clk->rate *=
pfc_divisors[ctrl_inl(FRQMR1) & 0x000f]
;
}
static struct clk_ops sh7785_master_clk_ops = {