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)
commit03399c1cb4e2503e92d10c1ce38ac2e69b7d2380
treea7a9b7910fb212bf7c57f6330b4a208ea8b17143
parentbaaece224570a935210a59257b5d9073e99843ea
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