[PATCH] ARM: PRIMA2: delete redundant codes to restore LATCHED when timer resumes

Olof Johansson olof at lixom.net
Thu Aug 2 13:12:18 EDT 2012


On Mon, Jul 30, 2012 at 01:29:30PM +0800, Barry Song wrote:
> From: Barry Song <Baohua.Song at csr.com>
> 
> 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 at csr.com>

Based on off-list email, applied to fixes.


Thanks,

-Olof



More information about the linux-arm-kernel mailing list