https://github.com/torvalds/linux
Revision 8dfa741f146b39eb59ef2094e03f47079ca99eb0 authored by Ralf Baechle on 11 November 2007, 17:33:55 UTC, committed by Ralf Baechle on 15 November 2007, 23:21:50 UTC
We have no guarantee by the generic time code that the timer is stopped
when the ->next_event method is called.  Modifying the Timer Initial Count
register while the timer is enabled has UNPREDICTABLE effect according to
the BCM1250/BCM1125/BCM1125H User Manual.  So stop the timer before
reprogramming.

This is a paranoia fix; no ill effects have been observed previously.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 6224775
History
Tip revision: 8dfa741f146b39eb59ef2094e03f47079ca99eb0 authored by Ralf Baechle on 11 November 2007, 17:33:55 UTC
[MIPS] Sibyte: Stop timers before programming next even.
Tip revision: 8dfa741
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 93.2 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top