ARM: OMAP: Don't restore DMTIMER interrupt status register
authorJon Hunter <jon-hunter@ti.com>
Thu, 4 Oct 2012 22:01:14 +0000 (17:01 -0500)
committerJon Hunter <jon-hunter@ti.com>
Mon, 12 Nov 2012 22:23:54 +0000 (16:23 -0600)
commit1eaff71017d97ce2bc8e22b9a5cf11e5c6dd6c78
tree3ef79ceb77fea31ebad95330c110ab07eec80dd5
parentd3004bb43de180c2f6e965716a3abe9b43c8b861
ARM: OMAP: Don't restore DMTIMER interrupt status register

Restoring the timer interrupt status is not possible because writing a 1 to any
bit in the register clears that bit if set and writing a 0 has no affect.
Furthermore, if an interrupt is pending when someone attempts to disable a
timer, the timer will fail to transition to the idle state and hence it's
context will not be lost. Users should take care to service all interrupts
before disabling the timer.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/include/plat/dmtimer.h
This page took 0.025024 seconds and 5 git commands to generate.