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:
79504bb
)
clocksource: rockchip_timer: clock source 32-bit mode
author
黄涛
<huangtao@rock-chips.com>
Mon, 2 Dec 2013 02:38:19 +0000
(10:38 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 2 Dec 2013 02:38:19 +0000
(10:38 +0800)
drivers/clocksource/rockchip_timer.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/rockchip_timer.c
b/drivers/clocksource/rockchip_timer.c
index 8c5291fa0e47e1e1c6c2e61975cdb70ecab9a603..124869d37368fd796ac49770273d213550ab647a 100644
(file)
--- a/
drivers/clocksource/rockchip_timer.c
+++ b/
drivers/clocksource/rockchip_timer.c
@@
-180,14
+180,14
@@
static struct local_timer_ops rk_local_timer_ops __cpuinitdata = {
static cycle_t rk_timer_read(struct clocksource *cs)
{
- return ~rk_timer_read_current_value
64
(cs_timer.base);
+ return ~rk_timer_read_current_value(cs_timer.base);
}
static struct clocksource rk_timer_clocksource = {
.name = TIMER_NAME,
.rating = 200,
.read = rk_timer_read,
- .mask = CLOCKSOURCE_MASK(
64
),
+ .mask = CLOCKSOURCE_MASK(
32
),
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};