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)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:12:00 +0000 (22:12 +0200)
commitfa3cd93e38d630219df7dfca470cd6b5a98dda73
tree51184bbc8bafcccc9094abcdb3d619dfa2024a7b
parent21607976cca989fa2cd653f3f52e7bb7566bc069
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