Commit 5e89ba79 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fix timer32 oneshot mode

No need to start timer in oneshot mode as pointed out by
Russell King.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 14eadd1f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment