aboutsummaryrefslogtreecommitdiff
path: root/drivers/tc
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-11-08 23:35:46 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-11-08 23:35:46 +0000
commit91bc51d8a10b00d8233dd5b6f07d7eb40828b87d (patch)
tree35acc012af09a987364f39d0a5ccda7c4be35a3e /drivers/tc
parentc2ec21c5c8f15c079c209f403d582f3134785060 (diff)
[ARM] pxa: fix one-shot timer mode
One-shot timer mode on PXA has various bugs which prevent kernels build with NO_HZ enabled booting. They end up spinning on a permanently asserted timer interrupt because we don't properly clear it down - clearing the OIER bit does not stop the pending interrupt status. Fix this in the set_mode handler as well. Moreover, the code which sets the next expiry point may race with the hardware, and we might not set the match register sufficiently in the future. If we encounter that situation, return -ETIME so the generic time code retries. Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions