[PATCH v5 3/3] watchdog: orion: Use atomic access for shared registers
Jason Cooper
jason at lakedaemon.net
Thu Dec 12 08:53:42 EST 2013
On Tue, Dec 10, 2013 at 11:41:37AM -0300, 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.
>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
> ---
> drivers/watchdog/orion_wdt.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
Acked-by: Jason Cooper <jason at lakedaemon.net>
thx,
Jason.
More information about the linux-arm-kernel
mailing list