]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: twd: ensure timer reload is reprogrammed on entry to periodic mode
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Jan 2011 10:35:36 +0000 (10:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 25 Jan 2011 21:17:58 +0000 (21:17 +0000)
commit155559454c06975e3b233e1ca38abebd0d9f1e04
treea7a9b7910fb212bf7c57f6330b4a208ea8b17143
parent44c0152e2fa5008ec96096486a217ffd6802b093
ARM: twd: ensure timer reload is reprogrammed on entry to periodic mode

Ensure that the twd timer reload value is reprogrammed each time we
enter periodic mode.  This ensures that the reload value is always
reset correctly.

Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Colin Cross <ccross@android.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp_twd.c