ARM: OMAP: Don't restore of DMTIMER TISTAT register
authorJon Hunter <jon-hunter@ti.com>
Fri, 28 Sep 2012 21:09:03 +0000 (16:09 -0500)
committerJon Hunter <jon-hunter@ti.com>
Mon, 12 Nov 2012 22:23:53 +0000 (16:23 -0600)
commitd3004bb43de180c2f6e965716a3abe9b43c8b861
tree23e3a19d361a146b13f3b7a54153b20a063ad5ea
parentffc957bd83b623fa6ead068bf1a444decce2cc00
ARM: OMAP: Don't restore of DMTIMER TISTAT register

The timer TISTAT register is a read-only register and therefore restoring the
context is not needed. Furthermore, the context of TISTAT is never saved
anywhere in the current code. The TISTAT register is read-only for all OMAP
devices from OMAP1 to OMAP4. OMAP5 timers no longer have this register.

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