From: Tony Lindgren Date: Tue, 25 Mar 2008 09:53:06 +0000 (+0200) Subject: ARM: OMAP: Fix timer32 oneshot mode X-Git-Tag: v2.6.25-omap1~106 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5e89ba794d1e04895549a328109bb2c2f7f29223;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix timer32 oneshot mode No need to start timer in oneshot mode as pointed out by Russell King. Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/timer32k.c b/arch/arm/mach-omap1/timer32k.c index c4af39ace53..fbbdb806c95 100644 --- a/arch/arm/mach-omap1/timer32k.c +++ b/arch/arm/mach-omap1/timer32k.c @@ -131,9 +131,9 @@ static void omap_32k_timer_set_mode(enum clock_event_mode mode, switch (mode) { case CLOCK_EVT_MODE_PERIODIC: - case CLOCK_EVT_MODE_ONESHOT: omap_32k_timer_start(OMAP_32K_TIMER_TICK_PERIOD); break; + case CLOCK_EVT_MODE_ONESHOT: case CLOCK_EVT_MODE_UNUSED: case CLOCK_EVT_MODE_SHUTDOWN: break;