Commit 6f941961 authored by Jeff Ohlstein's avatar Jeff Ohlstein Committed by Daniel Walker

msm: timer: Decrease shift on timer clocksource

The shift of 24 causes the shift and multiply operation to sometimes
overflow, resulting in incorrect timer values and poor performance.
Signed-off-by: default avatarJeff Ohlstein <johlstei@codeaurora.org>
Signed-off-by: default avatarDaniel Walker <dwalker@codeaurora.org>
parent a86c44d4
...@@ -137,7 +137,7 @@ static struct msm_clock msm_clocks[] = { ...@@ -137,7 +137,7 @@ static struct msm_clock msm_clocks[] = {
.rating = 200, .rating = 200,
.read = msm_gpt_read, .read = msm_gpt_read,
.mask = CLOCKSOURCE_MASK(32), .mask = CLOCKSOURCE_MASK(32),
.shift = 24, .shift = 17,
.flags = CLOCK_SOURCE_IS_CONTINUOUS, .flags = CLOCK_SOURCE_IS_CONTINUOUS,
}, },
.irq = { .irq = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment