ARM: clockevents: fix IOP clock events initialization
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 19 Dec 2010 15:43:34 +0000 (15:43 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 19 Dec 2010 15:44:53 +0000 (15:44 +0000)
commit40cc52440073903f3b7477a3391c4ca0761445d0
tree3f1f0cdf4180746acb32e3b1089b3a771fb8258c
parent83cf1eecfe9afee99d6b86f963187acd414c019d
ARM: clockevents: fix IOP clock events initialization

Ensure that no interrupt is pending before registering the clock
event device, and properly initialize the periodic tick in the
->set_mode callback.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-iop/time.c