mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
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: Jeff Ohlstein <johlstei@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
This commit is contained in:
parent
a86c44d48a
commit
6f9419619e
@ -137,7 +137,7 @@ static struct msm_clock msm_clocks[] = {
|
||||
.rating = 200,
|
||||
.read = msm_gpt_read,
|
||||
.mask = CLOCKSOURCE_MASK(32),
|
||||
.shift = 24,
|
||||
.shift = 17,
|
||||
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
||||
},
|
||||
.irq = {
|
||||
|
Loading…
Reference in New Issue
Block a user