Thread (1 message) 1 message, 1 author, 2014-01-25

Re: [PATCH v4 04/18] watchdog: orion: Use atomic access for shared registers

From: Guenter Roeck <hidden>
Date: 2014-01-25 18:12:37
Also in: linux-arm-kernel, linux-watchdog

On 01/22/2014 03:05 PM, Ezequiel Garcia wrote:
Since the timer control register is shared with the clocksource driver,
use the recently introduced atomic_io_clear_set() to access such register.
Given the watchdog core already provides serialization for all the
watchdog ops, this commit allows to remove the spinlock entirely.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Reviewed-by: Guenter Roeck <redacted>


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help