commit | debeaf6c2ded82bea65c1a487fb629fb0d2bb66f | [log] [tgz] |
---|---|---|
author | Barry Song <Baohua.Song@csr.com> | Mon Jul 30 13:29:30 2012 +0800 |
committer | Olof Johansson <olof@lixom.net> | Thu Aug 02 10:05:27 2012 -0700 |
tree | 5a8855081c766eebab8254d40a6902d782c71d46 | |
parent | 52c2ebd757d94f4a7215c3fc906646b24f44ecab [diff] |
ARM: PRIMA2: delete redundant codes to restore LATCHED when timer resumes The only way to write LATCHED registers to write LATCH_BIT to LATCH register, that will latch COUNTER into LATCHED.e.g. writel_relaxed(SIRFSOC_TIMER_LATCH_BIT, sirfsoc_timer_base + SIRFSOC_TIMER_LATCH); Writing values to LATCHED registers directly is useless at all. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Olof Johansson <olof@lixom.net>