projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e6f989
)
clocksource: sh_cmt: Fix up bogus shift value.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 22 Jun 2010 07:41:31 +0000
(16:41 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 22 Jun 2010 07:41:31 +0000
(16:41 +0900)
The previous CMT fixup accidentally copied in the TMU shift value, reset
this back to its original value while preserving the TMU fix.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/clocksource/sh_cmt.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/sh_cmt.c
b/drivers/clocksource/sh_cmt.c
index
f3d3898
..
717305d
100644
(file)
--- a/
drivers/clocksource/sh_cmt.c
+++ b/
drivers/clocksource/sh_cmt.c
@@
-449,7
+449,7
@@
static int sh_cmt_register_clocksource(struct sh_cmt_priv *p,
clk_disable(p->clk);
/* TODO: calculate good shift from rate and counter bit width */
- cs->shift =
1
0;
+ cs->shift = 0;
cs->mult = clocksource_hz2mult(p->rate, cs->shift);
dev_info(&p->pdev->dev, "used as clock source\n");