diff options
author | 2012-07-11 13:47:38 -0500 | |
---|---|---|
committer | 2012-11-16 10:35:05 -0600 | |
commit | ae6672cb47c8a7652e9aff182eb85a15994c9487 (patch) | |
tree | 994f4aa70c4467476a1bc748f4bdf9be3ff93540 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'fixes-timer' of github.com:jonhunter/linux into omap-for-v3.8/timer (diff) | |
download | linux-dev-ae6672cb47c8a7652e9aff182eb85a15994c9487.tar.xz linux-dev-ae6672cb47c8a7652e9aff182eb85a15994c9487.zip |
ARM: OMAP: Clean-up dmtimer reset code
Only OMAP1 devices use the omap_dm_timer_reset() and so require the
omap_dm_timer_wait_for_reset() and __omap_dm_timer_reset() functions.
Therefore combine these into a single function called omap_dm_timer_reset()
and simplify the code.
The omap_dm_timer_reset() function is now the only place that is using the
omap_dm_timer structure member "sys_stat". Therefore, remove this member and
just use the register offset definition to simplify and clean-up the code. The
TISTAT register is only present on revision 1 timers and so check for this in
the omap_dm_timer_reset() function.
Please note that for OMAP1 devices, the TIOCP_CFG register does not have the
clock-activity field and so when we reset the timer for an OMAP1 device we
only need to configure the idle-mode field in the TIOCP_CFG register.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions