Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-02
DORMANTno replies

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

From: Olof Johansson <hidden>
Date: 2012-08-02 17:12:18

On Mon, Jul 30, 2012 at 01:29:30PM +0800, Barry Song wrote:
From: Barry Song <redacted>

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 <redacted>
Based on off-list email, applied to fixes.


Thanks,

-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help